File: sd.s

package info (click to toggle)
llvm-toolchain-21 1%3A21.1.6-2
  • links: PTS, VCS
  • area: main
  • in suites: forky
  • size: 2,245,044 kB
  • sloc: cpp: 7,619,726; ansic: 1,434,018; asm: 1,058,748; python: 252,740; f90: 94,671; objc: 70,685; lisp: 42,813; pascal: 18,401; sh: 8,601; ml: 5,111; perl: 4,720; makefile: 3,666; awk: 3,523; javascript: 2,409; xml: 892; fortran: 770
file content (13 lines) | stat: -rw-r--r-- 587 bytes parent folder | download | duplicates (17)
1
2
3
4
5
6
7
8
9
10
11
12
13
# RUN: llvm-mc -filetype=obj -triple mips   -mcpu=mips1 %s -o - \
# RUN:   | llvm-objdump --no-print-imm-hex -d - | FileCheck %s --check-prefix=MIPS1-EB
# RUN: llvm-mc -filetype=obj -triple mipsel -mcpu=mips1 %s -o - \
# RUN:   | llvm-objdump --no-print-imm-hex -d - | FileCheck %s --check-prefix=MIPS1-EL

# Check if s.d instruction alias is suported on Mips1.

# MIPS1-EB:    0: e4 c1 00 00    swc1    $f1, 0($6)
# MIPS1-EB:    4: e4 c0 00 04    swc1    $f0, 4($6)

# MIPS1-EL:    0: 00 00 c0 e4    swc1    $f0, 0($6)
# MIPS1-EL:    4: 04 00 c1 e4    swc1    $f1, 4($6)
s.d $f0, 0($6)