You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: llvm/test/MC/RISCV/rv32c-valid.s
+5Lines changed: 5 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -147,6 +147,11 @@ c.sub a4, a5
147
147
# CHECK-ASM: encoding: [0x01,0x00]
148
148
# CHECK-NO-EXT: error: instruction requires the following: 'C' (Compressed Instructions) or 'Zca' (part of the C extension, excluding compressed floating point loads/stores){{$}}
149
149
c.nop
150
+
# CHECK-ASM: c.addi zero, 0
151
+
# CHECK-OBJ: c.nop
152
+
# CHECK-ASM: encoding: [0x01,0x00]
153
+
# CHECK-NO-EXT: error: instruction requires the following: 'C' (Compressed Instructions) or 'Zca' (part of the C extension, excluding compressed floating point loads/stores){{$}}
154
+
c.addi x0, 0
150
155
# CHECK-ASM-AND-OBJ: c.ebreak
151
156
# CHECK-ASM: encoding: [0x02,0x90]
152
157
# CHECK-NO-EXT: error: instruction requires the following: 'C' (Compressed Instructions) or 'Zca' (part of the C extension, excluding compressed floating point loads/stores){{$}}
0 commit comments