1 # RUN: llvm-mc %s -triple=csky -show-encoding -csky-no-aliases -mattr=+fpuv2_sf -mattr=+fpuv2_df \
2 # RUN: | FileCheck -check-prefixes=CHECK-ASM,CHECK-ASM-AND-OBJ %s
3 # RUN: llvm-mc -filetype=obj -triple=csky -mattr=+fpuv2_sf -mattr=+fpuv2_df < %s \
4 # RUN: | llvm-objdump --mattr=+fpuv2_sf --mattr=+fpuv2_df -M no-aliases -M abi-names -d -r - \
5 # RUN: | FileCheck -check-prefixes=CHECK-ASM-AND-OBJ %s
7 # CHECK-ASM-AND-OBJ: fldms vr1-vr2, (a1)
8 # CHECK-ASM: encoding: [0x21,0xf4,0x01,0x30]
11 # CHECK-ASM-AND-OBJ: fldmd vr1-vr2, (a1)
12 # CHECK-ASM: encoding: [0x21,0xf4,0x01,0x31]
15 # CHECK-ASM-AND-OBJ: fstms vr1-vr2, (a1)
16 # CHECK-ASM: encoding: [0x21,0xf4,0x01,0x34]
19 # CHECK-ASM-AND-OBJ: fstmd vr1-vr2, (a1)
20 # CHECK-ASM: encoding: [0x21,0xf4,0x01,0x35]
23 # RUN: not llvm-mc -triple csky -mattr=+fpuv2_sf -mattr=+fpuv2_df --defsym=ERR=1 < %s 2>&1 | FileCheck %s
26 fldms vr1-vr33
, (a1
) # CHECK: :[[#@LINE]]:12: error: invalid register
27 fldms vr1-vr31
, (a1
) # CHECK: :[[#@LINE]]:8: error: Register sequence is not valid
28 fstms vr1-vr33
, (a1
) # CHECK: :[[#@LINE]]:12: error: invalid register
29 fstms vr1-vr31
, (a1
) # CHECK: :[[#@LINE]]:8: error: Register sequence is not valid
30 fldmd vr1-vr33
, (a1
) # CHECK: :[[#@LINE]]:12: error: invalid register
31 fldmd vr1-vr31
, (a1
) # CHECK: :[[#@LINE]]:8: error: Register sequence is not valid
32 fstmd vr1-vr33
, (a1
) # CHECK: :[[#@LINE]]:12: error: invalid register
33 fstmd vr1-vr31
, (a1
) # CHECK: :[[#@LINE]]:8: error: Register sequence is not valid