new file mode 100644
@@ -0,0 +1,9 @@
+target:
+ c.add
+ c.add , x1
+ c.add x1,
+
+ c.add x0, x0
+ c.add 1, x1
+ c.add x1, x0
+ c.add x1, 0
new file mode 100644
@@ -0,0 +1,3 @@
+#as: -march=rv32ifd_zca
+#source: zc-zca-add-fail.s
+#error_output: zc-zca-add-rv32-fail.l
new file mode 100644
@@ -0,0 +1,8 @@
+.*: Assembler messages:
+.*: Error: illegal operands `c.add'
+.*: Error: illegal operands `c.add ,x1'
+.*: Error: illegal operands `c.add x1,'
+.*: Error: illegal operands `c.add x0,x0'
+.*: Error: illegal operands `c.add 1,x1'
+.*: Error: illegal operands `c.add x1,x0'
+.*: Error: illegal operands `c.add x1,0'
new file mode 100644
@@ -0,0 +1,18 @@
+#as: -march=rv32ifd_zca
+#source: zc-zca-add.s
+#objdump: -d -Mno-aliases
+
+.*:[ ]+file format .*
+
+
+Disassembly of section .text:
+
+0+000 <target>:
+[ ]+0:[ ]+908a[ ]+c.add[ ]+ra,sp
+[ ]+2:[ ]+910e[ ]+c.add[ ]+sp,gp
+[ ]+4:[ ]+9192[ ]+c.add[ ]+gp,tp
+[ ]+6:[ ]+9226[ ]+c.add[ ]+tp,s1
+[ ]+8:[ ]+94a6[ ]+c.add[ ]+s1,s1
+[ ]+a:[ ]+957e[ ]+c.add[ ]+a0,t6
+[ ]+c:[ ]+9faa[ ]+c.add[ ]+t6,a0
+[ ]+e:[ ]+907e[ ]+c.add[ ]+zero,t6
new file mode 100644
@@ -0,0 +1,3 @@
+#as: -march=rv64ifd_zca
+#source: zc-zca-add-fail.s
+#error_output: zc-zca-add-rv64-fail.l
new file mode 100644
@@ -0,0 +1,8 @@
+.*: Assembler messages:
+.*: Error: illegal operands `c.add'
+.*: Error: illegal operands `c.add ,x1'
+.*: Error: illegal operands `c.add x1,'
+.*: Error: illegal operands `c.add x0,x0'
+.*: Error: illegal operands `c.add 1,x1'
+.*: Error: illegal operands `c.add x1,x0'
+.*: Error: illegal operands `c.add x1,0'
new file mode 100644
@@ -0,0 +1,18 @@
+#as: -march=rv64ifd_zca
+#source: zc-zca-add.s
+#objdump: -d -Mno-aliases
+
+.*:[ ]+file format .*
+
+
+Disassembly of section .text:
+
+0+000 <target>:
+[ ]+0:[ ]+908a[ ]+c.add[ ]+ra,sp
+[ ]+2:[ ]+910e[ ]+c.add[ ]+sp,gp
+[ ]+4:[ ]+9192[ ]+c.add[ ]+gp,tp
+[ ]+6:[ ]+9226[ ]+c.add[ ]+tp,s1
+[ ]+8:[ ]+94a6[ ]+c.add[ ]+s1,s1
+[ ]+a:[ ]+957e[ ]+c.add[ ]+a0,t6
+[ ]+c:[ ]+9faa[ ]+c.add[ ]+t6,a0
+[ ]+e:[ ]+907e[ ]+c.add[ ]+zero,t6
new file mode 100644
@@ -0,0 +1,9 @@
+target:
+ c.add x1, x2
+ c.add x2, x3
+ c.add x3, x4
+ c.add x4, x9
+ c.add x9, x9
+ c.add x10, x31
+ c.add x31, x10
+ c.add x0, x31
new file mode 100644
@@ -0,0 +1,10 @@
+target:
+ c.addi
+ c.addi , 0
+ c.addi x1,
+
+ c.addi 1, 0
+ c.addi x1, -33
+ c.addi x1, 32
+ c.addi x1, 0.0
+ c.addi x1, x8
new file mode 100644
@@ -0,0 +1,3 @@
+#as: -march=rv32ifd_zca
+#source: zc-zca-addi-fail.s
+#error_output: zc-zca-addi-rv32-fail.l
new file mode 100644
@@ -0,0 +1,9 @@
+.*: Assembler messages:
+.*: Error: illegal operands `c.addi'
+.*: Error: illegal operands `c.addi ,0'
+.*: Error: illegal operands `c.addi x1,'
+.*: Error: illegal operands `c.addi 1,0'
+.*: Error: illegal operands `c.addi x1,-33'
+.*: Error: illegal operands `c.addi x1,32'
+.*: Error: illegal operands `c.addi x1,0.0'
+.*: Error: illegal operands `c.addi x1,x8'
new file mode 100644
@@ -0,0 +1,18 @@
+#as: -march=rv32ifd_zca
+#source: zc-zca-addi.s
+#objdump: -d -Mno-aliases
+
+.*:[ ]+file format .*
+
+
+Disassembly of section .text:
+
+0+000 <target>:
+[ ]+0:[ ]+1081[ ]+c.addi[ ]+ra,-32
+[ ]+2:[ ]+0101[ ]+c.addi[ ]+sp,0
+[ ]+4:[ ]+01fd[ ]+c.addi[ ]+gp,31
+[ ]+6:[ ]+1245[ ]+c.addi[ ]+tp,-15+.*
+[ ]+8:[ ]+14fd[ ]+c.addi[ ]+s1,-1
+[ ]+a:[ ]+0505[ ]+c.addi[ ]+a0,1
+[ ]+c:[ ]+0fc1[ ]+c.addi[ ]+t6,16
+[ ]+e:[ ]+0051[ ]+c.addi[ ]+zero,20
new file mode 100644
@@ -0,0 +1,3 @@
+#as: -march=rv64ifd_zca
+#source: zc-zca-addi-fail.s
+#error_output: zc-zca-addi-rv64-fail.l
new file mode 100644
@@ -0,0 +1,9 @@
+.*: Assembler messages:
+.*: Error: illegal operands `c.addi'
+.*: Error: illegal operands `c.addi ,0'
+.*: Error: illegal operands `c.addi x1,'
+.*: Error: illegal operands `c.addi 1,0'
+.*: Error: illegal operands `c.addi x1,-33'
+.*: Error: illegal operands `c.addi x1,32'
+.*: Error: illegal operands `c.addi x1,0.0'
+.*: Error: illegal operands `c.addi x1,x8'
new file mode 100644
@@ -0,0 +1,18 @@
+#as: -march=rv64ifd_zca
+#source: zc-zca-addi.s
+#objdump: -d -Mno-aliases
+
+.*:[ ]+file format .*
+
+
+Disassembly of section .text:
+
+0+000 <target>:
+[ ]+0:[ ]+1081[ ]+c.addi[ ]+ra,-32
+[ ]+2:[ ]+0101[ ]+c.addi[ ]+sp,0
+[ ]+4:[ ]+01fd[ ]+c.addi[ ]+gp,31
+[ ]+6:[ ]+1245[ ]+c.addi[ ]+tp,-15+.*
+[ ]+8:[ ]+14fd[ ]+c.addi[ ]+s1,-1
+[ ]+a:[ ]+0505[ ]+c.addi[ ]+a0,1
+[ ]+c:[ ]+0fc1[ ]+c.addi[ ]+t6,16
+[ ]+e:[ ]+0051[ ]+c.addi[ ]+zero,20
new file mode 100644
@@ -0,0 +1,9 @@
+target:
+ c.addi x1, -32
+ c.addi x2, 0
+ c.addi x3, 31
+ c.addi x4, -15
+ c.addi x9, -1
+ c.addi x10, 1
+ c.addi x31, 16
+ c.addi x0, 20
new file mode 100644
@@ -0,0 +1,14 @@
+target:
+ c.addi16sp
+ c.addi16sp ,
+ c.addi16sp , 16
+ c.addi16sp x2,
+
+ c.addi16sp x1, 16
+ c.addi16sp 16, 16
+
+ c.addi16sp x2, 0
+ c.addi16sp x2, 497
+ c.addi16sp x2, -513
+ c.addi16sp x2, 16.0
+ c.addi16sp x2, x8
new file mode 100644
@@ -0,0 +1,3 @@
+#as: -march=rv32ifd_zca
+#source: zc-zca-addi16sp-fail.s
+#error_output: zc-zca-addi16sp-rv32-fail.l
new file mode 100644
@@ -0,0 +1,12 @@
+.*: Assembler messages:
+.*: Error: illegal operands `c.addi16sp'
+.*: Error: illegal operands `c.addi16sp ,'
+.*: Error: illegal operands `c.addi16sp ,16'
+.*: Error: illegal operands `c.addi16sp x2,'
+.*: Error: illegal operands `c.addi16sp x1,16'
+.*: Error: illegal operands `c.addi16sp 16,16'
+.*: Error: illegal operands `c.addi16sp x2,0'
+.*: Error: illegal operands `c.addi16sp x2,497'
+.*: Error: illegal operands `c.addi16sp x2,-513'
+.*: Error: illegal operands `c.addi16sp x2,16.0'
+.*: Error: illegal operands `c.addi16sp x2,x8'
new file mode 100644
@@ -0,0 +1,14 @@
+#as: -march=rv32ifd_zca
+#source: zc-zca-addi16sp.s
+#objdump: -d -Mno-aliases
+
+.*:[ ]+file format .*
+
+
+Disassembly of section .text:
+
+0+000 <target>:
+[ ]+0:[ ]+6105[ ]+c.addi16sp[ ]+sp,32
+[ ]+2:[ ]+713d[ ]+c.addi16sp[ ]+sp,-32
+[ ]+4:[ ]+617d[ ]+c.addi16sp[ ]+sp,496
+[ ]+6:[ ]+7101[ ]+c.addi16sp[ ]+sp,-512
new file mode 100644
@@ -0,0 +1,3 @@
+#as: -march=rv64ifd_zca
+#source: zc-zca-addi16sp-fail.s
+#error_output: zc-zca-addi16sp-rv64-fail.l
new file mode 100644
@@ -0,0 +1,12 @@
+.*: Assembler messages:
+.*: Error: illegal operands `c.addi16sp'
+.*: Error: illegal operands `c.addi16sp ,'
+.*: Error: illegal operands `c.addi16sp ,16'
+.*: Error: illegal operands `c.addi16sp x2,'
+.*: Error: illegal operands `c.addi16sp x1,16'
+.*: Error: illegal operands `c.addi16sp 16,16'
+.*: Error: illegal operands `c.addi16sp x2,0'
+.*: Error: illegal operands `c.addi16sp x2,497'
+.*: Error: illegal operands `c.addi16sp x2,-513'
+.*: Error: illegal operands `c.addi16sp x2,16.0'
+.*: Error: illegal operands `c.addi16sp x2,x8'
new file mode 100644
@@ -0,0 +1,14 @@
+#as: -march=rv64ifd_zca
+#source: zc-zca-addi16sp.s
+#objdump: -d -Mno-aliases
+
+.*:[ ]+file format .*
+
+
+Disassembly of section .text:
+
+0+000 <target>:
+[ ]+0:[ ]+6105[ ]+c.addi16sp[ ]+sp,32
+[ ]+2:[ ]+713d[ ]+c.addi16sp[ ]+sp,-32
+[ ]+4:[ ]+617d[ ]+c.addi16sp[ ]+sp,496
+[ ]+6:[ ]+7101[ ]+c.addi16sp[ ]+sp,-512
new file mode 100644
@@ -0,0 +1,5 @@
+target:
+ c.addi16sp x2, 32
+ c.addi16sp x2, -32
+ c.addi16sp x2, 496
+ c.addi16sp x2,-512
new file mode 100644
@@ -0,0 +1,22 @@
+target:
+ c.addi4spn
+ c.addi4spn , ,
+ c.addi4spn , x2, 4
+ c.addi4spn x8, , 4
+ c.addi4spn x8, x2,
+
+ c.addi4spn x7, x2, 4
+ c.addi4spn x16, x2, 4
+ c.addi4spn 4, x2, 4
+
+ c.addi4spn x8, x1, 4
+ c.addi4spn x8, 4, 4
+ c.addi4spn x8, x3, 4
+
+ c.addi4spn x8, x2, 0
+ c.addi4spn x8, x2, 3
+ c.addi4spn x8, x2, 4.0
+ c.addi4spn x8, x2, 5
+ c.addi4spn x8, x2, 1023
+ c.addi4spn x8, x2, 1024
+ c.addi4spn x8, x2, x9
new file mode 100644
@@ -0,0 +1,3 @@
+#as: -march=rv32ifd_zca
+#source: zc-zca-addi4spn-fail.s
+#error_output: zc-zca-addi4spn-rv32-fail.l
new file mode 100644
@@ -0,0 +1,19 @@
+.*: Assembler messages:
+.*: Error: illegal operands `c.addi4spn'
+.*: Error: illegal operands `c.addi4spn ,,'
+.*: Error: illegal operands `c.addi4spn ,x2,4'
+.*: Error: illegal operands `c.addi4spn x8,,4'
+.*: Error: illegal operands `c.addi4spn x8,x2,'
+.*: Error: illegal operands `c.addi4spn x7,x2,4'
+.*: Error: illegal operands `c.addi4spn x16,x2,4'
+.*: Error: illegal operands `c.addi4spn 4,x2,4'
+.*: Error: illegal operands `c.addi4spn x8,x1,4'
+.*: Error: illegal operands `c.addi4spn x8,4,4'
+.*: Error: illegal operands `c.addi4spn x8,x3,4'
+.*: Error: illegal operands `c.addi4spn x8,x2,0'
+.*: Error: illegal operands `c.addi4spn x8,x2,3'
+.*: Error: illegal operands `c.addi4spn x8,x2,4.0'
+.*: Error: illegal operands `c.addi4spn x8,x2,5'
+.*: Error: illegal operands `c.addi4spn x8,x2,1023'
+.*: Error: illegal operands `c.addi4spn x8,x2,1024'
+.*: Error: illegal operands `c.addi4spn x8,x2,x9'
new file mode 100644
@@ -0,0 +1,13 @@
+#as: -march=rv32ifd_zca
+#source: zc-zca-addi4spn.s
+#objdump: -d -Mno-aliases
+
+.*:[ ]+file format .*
+
+
+Disassembly of section .text:
+
+0+000 <target>:
+[ ]+0:[ ]+0040[ ]+c.addi4spn[ ]+s0,sp,4
+[ ]+2:[ ]+1888[ ]+c.addi4spn[ ]+a0,sp,112
+[ ]+4:[ ]+1ffc[ ]+c.addi4spn[ ]+a5,sp,1020
new file mode 100644
@@ -0,0 +1,3 @@
+#as: -march=rv64ifd_zca
+#source: zc-zca-addi4spn-fail.s
+#error_output: zc-zca-addi4spn-rv64-fail.l
new file mode 100644
@@ -0,0 +1,19 @@
+.*: Assembler messages:
+.*: Error: illegal operands `c.addi4spn'
+.*: Error: illegal operands `c.addi4spn ,,'
+.*: Error: illegal operands `c.addi4spn ,x2,4'
+.*: Error: illegal operands `c.addi4spn x8,,4'
+.*: Error: illegal operands `c.addi4spn x8,x2,'
+.*: Error: illegal operands `c.addi4spn x7,x2,4'
+.*: Error: illegal operands `c.addi4spn x16,x2,4'
+.*: Error: illegal operands `c.addi4spn 4,x2,4'
+.*: Error: illegal operands `c.addi4spn x8,x1,4'
+.*: Error: illegal operands `c.addi4spn x8,4,4'
+.*: Error: illegal operands `c.addi4spn x8,x3,4'
+.*: Error: illegal operands `c.addi4spn x8,x2,0'
+.*: Error: illegal operands `c.addi4spn x8,x2,3'
+.*: Error: illegal operands `c.addi4spn x8,x2,4.0'
+.*: Error: illegal operands `c.addi4spn x8,x2,5'
+.*: Error: illegal operands `c.addi4spn x8,x2,1023'
+.*: Error: illegal operands `c.addi4spn x8,x2,1024'
+.*: Error: illegal operands `c.addi4spn x8,x2,x9'
new file mode 100644
@@ -0,0 +1,13 @@
+#as: -march=rv64ifd_zca
+#source: zc-zca-addi4spn.s
+#objdump: -d -Mno-aliases
+
+.*:[ ]+file format .*
+
+
+Disassembly of section .text:
+
+0+000 <target>:
+[ ]+0:[ ]+0040[ ]+c.addi4spn[ ]+s0,sp,4
+[ ]+2:[ ]+1888[ ]+c.addi4spn[ ]+a0,sp,112
+[ ]+4:[ ]+1ffc[ ]+c.addi4spn[ ]+a5,sp,1020
new file mode 100644
@@ -0,0 +1,4 @@
+target:
+ c.addi4spn x8, x2, 4
+ c.addi4spn x10, x2, 112
+ c.addi4spn x15, x2, 1020
new file mode 100644
@@ -0,0 +1,11 @@
+target:
+ c.addiw
+ c.addiw , 0
+ c.addiw x1,
+
+ c.addiw 1, 0
+ c.addiw x0, 0
+ c.addiw x1, -33
+ c.addiw x1, 32
+ c.addiw x1, 0.0
+ c.addiw x1, x8
new file mode 100644
@@ -0,0 +1,3 @@
+#as: -march=rv64ifd_zca
+#source: zc-zca-addiw-fail.s
+#error_output: zc-zca-addiw-rv64-fail.l
new file mode 100644
@@ -0,0 +1,10 @@
+.*: Assembler messages:
+.*: Error: illegal operands `c.addiw'
+.*: Error: illegal operands `c.addiw ,0'
+.*: Error: illegal operands `c.addiw x1,'
+.*: Error: illegal operands `c.addiw 1,0'
+.*: Error: illegal operands `c.addiw x0,0'
+.*: Error: illegal operands `c.addiw x1,-33'
+.*: Error: illegal operands `c.addiw x1,32'
+.*: Error: illegal operands `c.addiw x1,0.0'
+.*: Error: illegal operands `c.addiw x1,x8'
new file mode 100644
@@ -0,0 +1,17 @@
+#as: -march=rv64ifd_zca
+#source: zc-zca-addiw.s
+#objdump: -d -Mno-aliases
+
+.*:[ ]+file format .*
+
+
+Disassembly of section .text:
+
+0+000 <target>:
+[ ]+0:[ ]+3081[ ]+c.addiw[ ]+ra,-32
+[ ]+2:[ ]+2101[ ]+c.addiw[ ]+sp,0
+[ ]+4:[ ]+21fd[ ]+c.addiw[ ]+gp,31
+[ ]+6:[ ]+3245[ ]+c.addiw[ ]+tp,-15+.*
+[ ]+8:[ ]+34fd[ ]+c.addiw[ ]+s1,-1
+[ ]+a:[ ]+2505[ ]+c.addiw[ ]+a0,1
+[ ]+c:[ ]+2fc1[ ]+c.addiw[ ]+t6,16
new file mode 100644
@@ -0,0 +1,8 @@
+target:
+ c.addiw x1, -32
+ c.addiw x2, 0
+ c.addiw x3, 31
+ c.addiw x4, -15
+ c.addiw x9, -1
+ c.addiw x10, 1
+ c.addiw x31, 16
new file mode 100644
@@ -0,0 +1,14 @@
+target:
+ c.and
+ c.and ,
+ c.and , x8
+ c.and x8,
+ c.and , ,
+
+ c.and x7, x8
+ c.and x16, x8
+ c.and 3, x8
+
+ c.and x8, x7
+ c.and x8, x16
+ c.and x8, 3
new file mode 100644
@@ -0,0 +1,3 @@
+#as: -march=rv32ifd_zca
+#source: zc-zca-and-fail.s
+#error_output: zc-zca-and-rv32-fail.l
new file mode 100644
@@ -0,0 +1,12 @@
+.*: Assembler messages:
+.*: Error: illegal operands `c.and'
+.*: Error: illegal operands `c.and ,'
+.*: Error: illegal operands `c.and ,x8'
+.*: Error: illegal operands `c.and x8,'
+.*: Error: illegal operands `c.and ,,'
+.*: Error: illegal operands `c.and x7,x8'
+.*: Error: illegal operands `c.and x16,x8'
+.*: Error: illegal operands `c.and 3,x8'
+.*: Error: illegal operands `c.and x8,x7'
+.*: Error: illegal operands `c.and x8,x16'
+.*: Error: illegal operands `c.and x8,3'
new file mode 100644
@@ -0,0 +1,14 @@
+#as: -march=rv32ifd_zca
+#source: zc-zca-and.s
+#objdump: -d -Mno-aliases
+
+.*:[ ]+file format .*
+
+
+Disassembly of section .text:
+
+0+000 <target>:
+[ ]+0:[ ]+8c65[ ]+c.and[ ]+s0,s1
+[ ]+2:[ ]+8d6d[ ]+c.and[ ]+a0,a1
+[ ]+4:[ ]+8ffd[ ]+c.and[ ]+a5,a5
+[ ]+6:[ ]+00a4f433[ ]+and[ ]+s0,s1,a0
new file mode 100644
@@ -0,0 +1,3 @@
+#as: -march=rv64ifd_zca
+#source: zc-zca-and-fail.s
+#error_output: zc-zca-and-rv64-fail.l
new file mode 100644
@@ -0,0 +1,12 @@
+.*: Assembler messages:
+.*: Error: illegal operands `c.and'
+.*: Error: illegal operands `c.and ,'
+.*: Error: illegal operands `c.and ,x8'
+.*: Error: illegal operands `c.and x8,'
+.*: Error: illegal operands `c.and ,,'
+.*: Error: illegal operands `c.and x7,x8'
+.*: Error: illegal operands `c.and x16,x8'
+.*: Error: illegal operands `c.and 3,x8'
+.*: Error: illegal operands `c.and x8,x7'
+.*: Error: illegal operands `c.and x8,x16'
+.*: Error: illegal operands `c.and x8,3'
new file mode 100644
@@ -0,0 +1,14 @@
+#as: -march=rv64ifd_zca
+#source: zc-zca-and.s
+#objdump: -d -Mno-aliases
+
+.*:[ ]+file format .*
+
+
+Disassembly of section .text:
+
+0+000 <target>:
+[ ]+0:[ ]+8c65[ ]+c.and[ ]+s0,s1
+[ ]+2:[ ]+8d6d[ ]+c.and[ ]+a0,a1
+[ ]+4:[ ]+8ffd[ ]+c.and[ ]+a5,a5
+[ ]+6:[ ]+00a4f433[ ]+and[ ]+s0,s1,a0
new file mode 100644
@@ -0,0 +1,5 @@
+target:
+ c.and x8, x9
+ c.and x10,x11
+ c.and x15,x15
+ and x8,x9,x10
new file mode 100644
@@ -0,0 +1,14 @@
+target:
+ c.andi
+ c.andi ,
+ c.andi , x8
+ c.andi x8,
+ c.andi , ,
+
+ c.andi x7, 1
+ c.andi x16, 1
+ c.andi 3, 1
+
+ c.andi x8, -33
+ c.andi x8, 32
+ c.andi x8, x9
new file mode 100644
@@ -0,0 +1,3 @@
+#as: -march=rv32ifd_zca
+#source: zc-zca-andi-fail.s
+#error_output: zc-zca-andi-rv32-fail.l
new file mode 100644
@@ -0,0 +1,12 @@
+.*: Assembler messages:
+.*: Error: illegal operands `c.andi'
+.*: Error: illegal operands `c.andi ,'
+.*: Error: illegal operands `c.andi ,x8'
+.*: Error: illegal operands `c.andi x8,'
+.*: Error: illegal operands `c.andi ,,'
+.*: Error: illegal operands `c.andi x7,1'
+.*: Error: illegal operands `c.andi x16,1'
+.*: Error: illegal operands `c.andi 3,1'
+.*: Error: illegal operands `c.andi x8,-33'
+.*: Error: illegal operands `c.andi x8,32'
+.*: Error: illegal operands `c.andi x8,x9'
new file mode 100644
@@ -0,0 +1,14 @@
+#as: -march=rv32ifd_zca
+#source: zc-zca-andi.s
+#objdump: -d -Mno-aliases
+
+.*:[ ]+file format .*
+
+
+Disassembly of section .text:
+
+0+000 <target>:
+[ ]+0:[ ]+9801[ ]+c.andi[ ]+s0,-32
+[ ]+2:[ ]+8901[ ]+c.andi[ ]+a0,0
+[ ]+4:[ ]+8bfd[ ]+c.andi[ ]+a5,31
+[ ]+6:[ ]+01f4f413[ ]+andi[ ]+s0,s1,31
new file mode 100644
@@ -0,0 +1,3 @@
+#as: -march=rv64ifd_zca
+#source: zc-zca-andi-fail.s
+#error_output: zc-zca-andi-rv64-fail.l
new file mode 100644
@@ -0,0 +1,12 @@
+.*: Assembler messages:
+.*: Error: illegal operands `c.andi'
+.*: Error: illegal operands `c.andi ,'
+.*: Error: illegal operands `c.andi ,x8'
+.*: Error: illegal operands `c.andi x8,'
+.*: Error: illegal operands `c.andi ,,'
+.*: Error: illegal operands `c.andi x7,1'
+.*: Error: illegal operands `c.andi x16,1'
+.*: Error: illegal operands `c.andi 3,1'
+.*: Error: illegal operands `c.andi x8,-33'
+.*: Error: illegal operands `c.andi x8,32'
+.*: Error: illegal operands `c.andi x8,x9'
new file mode 100644
@@ -0,0 +1,14 @@
+#as: -march=rv64ifd_zca
+#source: zc-zca-andi.s
+#objdump: -d -Mno-aliases
+
+.*:[ ]+file format .*
+
+
+Disassembly of section .text:
+
+0+000 <target>:
+[ ]+0:[ ]+9801[ ]+c.andi[ ]+s0,-32
+[ ]+2:[ ]+8901[ ]+c.andi[ ]+a0,0
+[ ]+4:[ ]+8bfd[ ]+c.andi[ ]+a5,31
+[ ]+6:[ ]+01f4f413[ ]+andi[ ]+s0,s1,31
new file mode 100644
@@ -0,0 +1,5 @@
+target:
+ c.andi x8, -32
+ c.andi x10,0
+ c.andi x15,31
+ andi x8,x9,31
new file mode 100644
@@ -0,0 +1,9 @@
+target:
+ c.beqz
+ c.beqz , target
+ c.beqz x8, 2.1
+
+ c.beqz x1, target
+ c.beqz x7, target
+ c.beqz x16, target
+ c.beqz x31, target
new file mode 100644
@@ -0,0 +1,3 @@
+#as: -march=rv32ifd_zca
+#source: zc-zca-beqz-fail.s
+#error_output: zc-zca-beqz-rv32-fail.l
\ No newline at end of file
new file mode 100644
@@ -0,0 +1,8 @@
+.*: Assembler messages:
+.*: Error: illegal operands `c.beqz'
+.*: Error: illegal operands `c.beqz ,target'
+.*: Error: illegal operands `c.beqz x8,2.1'
+.*: Error: illegal operands `c.beqz x1,target'
+.*: Error: illegal operands `c.beqz x7,target'
+.*: Error: illegal operands `c.beqz x16,target'
+.*: Error: illegal operands `c.beqz x31,target'
\ No newline at end of file
new file mode 100644
@@ -0,0 +1,18 @@
+#as: -march=rv32ifd_zca
+#source: zc-zca-beqz.s
+#objdump: -d -Mno-aliases
+
+.*:[ ]+file format .*
+
+
+Disassembly of section .text:
+
+0+000 <target>:
+[ ]+0:[ ]+c001[ ]+c.beqz[ ]+s0,0[ ]+\<target\>
+[ ]+2:[ ]+dcfd[ ]+c.beqz[ ]+s1,0[ ]+\<target\>
+[ ]+4:[ ]+dd75[ ]+c.beqz[ ]+a0,0[ ]+\<target\>
+[ ]+6:[ ]+dded[ ]+c.beqz[ ]+a1,0[ ]+\<target\>
+[ ]+8:[ ]+de65[ ]+c.beqz[ ]+a2,0[ ]+\<target\>
+[ ]+a:[ ]+dafd[ ]+c.beqz[ ]+a3,0[ ]+\<target\>
+[ ]+c:[ ]+db75[ ]+c.beqz[ ]+a4,0[ ]+\<target\>
+[ ]+e:[ ]+dbed[ ]+c.beqz[ ]+a5,0[ ]+\<target\>
new file mode 100644
@@ -0,0 +1,3 @@
+#as: -march=rv64ifd_zca
+#source: zc-zca-beqz-fail.s
+#error_output: zc-zca-beqz-rv64-fail.l
\ No newline at end of file
new file mode 100644
@@ -0,0 +1,8 @@
+.*: Assembler messages:
+.*: Error: illegal operands `c.beqz'
+.*: Error: illegal operands `c.beqz ,target'
+.*: Error: illegal operands `c.beqz x8,2.1'
+.*: Error: illegal operands `c.beqz x1,target'
+.*: Error: illegal operands `c.beqz x7,target'
+.*: Error: illegal operands `c.beqz x16,target'
+.*: Error: illegal operands `c.beqz x31,target'
new file mode 100644
@@ -0,0 +1,18 @@
+#as: -march=rv64ifd_zca
+#source: zc-zca-beqz.s
+#objdump: -d -Mno-aliases
+
+.*:[ ]+file format .*
+
+
+Disassembly of section .text:
+
+0+000 <target>:
+[ ]+0:[ ]+c001[ ]+c.beqz[ ]+s0,0[ ]+\<target\>
+[ ]+2:[ ]+dcfd[ ]+c.beqz[ ]+s1,0[ ]+\<target\>
+[ ]+4:[ ]+dd75[ ]+c.beqz[ ]+a0,0[ ]+\<target\>
+[ ]+6:[ ]+dded[ ]+c.beqz[ ]+a1,0[ ]+\<target\>
+[ ]+8:[ ]+de65[ ]+c.beqz[ ]+a2,0[ ]+\<target\>
+[ ]+a:[ ]+dafd[ ]+c.beqz[ ]+a3,0[ ]+\<target\>
+[ ]+c:[ ]+db75[ ]+c.beqz[ ]+a4,0[ ]+\<target\>
+[ ]+e:[ ]+dbed[ ]+c.beqz[ ]+a5,0[ ]+\<target\>
new file mode 100644
@@ -0,0 +1,9 @@
+target:
+ c.beqz x8, target
+ c.beqz x9, target
+ c.beqz x10, target
+ c.beqz x11, target
+ c.beqz x12, target
+ c.beqz x13, target
+ c.beqz x14, target
+ c.beqz x15, target
new file mode 100644
@@ -0,0 +1,9 @@
+target:
+ c.bnez
+ c.bnez , target
+ c.bnez x8, 2.1
+
+ c.bnez x1, target
+ c.bnez x7, target
+ c.bnez x16, target
+ c.bnez x31, target
new file mode 100644
@@ -0,0 +1,3 @@
+#as: -march=rv32ifd_zca
+#source: zc-zca-bnez-fail.s
+#error_output: zc-zca-bnez-rv32-fail.l
\ No newline at end of file
new file mode 100644
@@ -0,0 +1,8 @@
+.*: Assembler messages:
+.*: Error: illegal operands `c.bnez'
+.*: Error: illegal operands `c.bnez ,target'
+.*: Error: illegal operands `c.bnez x8,2.1'
+.*: Error: illegal operands `c.bnez x1,target'
+.*: Error: illegal operands `c.bnez x7,target'
+.*: Error: illegal operands `c.bnez x16,target'
+.*: Error: illegal operands `c.bnez x31,target'
new file mode 100644
@@ -0,0 +1,18 @@
+#as: -march=rv32ifd_zca
+#source: zc-zca-bnez.s
+#objdump: -d -Mno-aliases
+
+.*:[ ]+file format .*
+
+
+Disassembly of section .text:
+
+0+000 <target>:
+[ ]+0:[ ]+e001[ ]+c.bnez[ ]+s0,0[ ]+\<target\>
+[ ]+2:[ ]+fcfd[ ]+c.bnez[ ]+s1,0[ ]+\<target\>
+[ ]+4:[ ]+fd75[ ]+c.bnez[ ]+a0,0[ ]+\<target\>
+[ ]+6:[ ]+fded[ ]+c.bnez[ ]+a1,0[ ]+\<target\>
+[ ]+8:[ ]+fe65[ ]+c.bnez[ ]+a2,0[ ]+\<target\>
+[ ]+a:[ ]+fafd[ ]+c.bnez[ ]+a3,0[ ]+\<target\>
+[ ]+c:[ ]+fb75[ ]+c.bnez[ ]+a4,0[ ]+\<target\>
+[ ]+e:[ ]+fbed[ ]+c.bnez[ ]+a5,0[ ]+\<target\>
new file mode 100644
@@ -0,0 +1,3 @@
+#as: -march=rv64ifd_zca
+#source: zc-zca-bnez-fail.s
+#error_output: zc-zca-bnez-rv64-fail.l
\ No newline at end of file
new file mode 100644
@@ -0,0 +1,8 @@
+.*: Assembler messages:
+.*: Error: illegal operands `c.bnez'
+.*: Error: illegal operands `c.bnez ,target'
+.*: Error: illegal operands `c.bnez x8,2.1'
+.*: Error: illegal operands `c.bnez x1,target'
+.*: Error: illegal operands `c.bnez x7,target'
+.*: Error: illegal operands `c.bnez x16,target'
+.*: Error: illegal operands `c.bnez x31,target'
new file mode 100644
@@ -0,0 +1,18 @@
+#as: -march=rv64ifd_zca
+#source: zc-zca-bnez.s
+#objdump: -d -Mno-aliases
+
+.*:[ ]+file format .*
+
+
+Disassembly of section .text:
+
+0+000 <target>:
+[ ]+0:[ ]+e001[ ]+c.bnez[ ]+s0,0[ ]+\<target\>
+[ ]+2:[ ]+fcfd[ ]+c.bnez[ ]+s1,0[ ]+\<target\>
+[ ]+4:[ ]+fd75[ ]+c.bnez[ ]+a0,0[ ]+\<target\>
+[ ]+6:[ ]+fded[ ]+c.bnez[ ]+a1,0[ ]+\<target\>
+[ ]+8:[ ]+fe65[ ]+c.bnez[ ]+a2,0[ ]+\<target\>
+[ ]+a:[ ]+fafd[ ]+c.bnez[ ]+a3,0[ ]+\<target\>
+[ ]+c:[ ]+fb75[ ]+c.bnez[ ]+a4,0[ ]+\<target\>
+[ ]+e:[ ]+fbed[ ]+c.bnez[ ]+a5,0[ ]+\<target\>
new file mode 100644
@@ -0,0 +1,9 @@
+target:
+ c.bnez x8, target
+ c.bnez x9, target
+ c.bnez x10, target
+ c.bnez x11, target
+ c.bnez x12, target
+ c.bnez x13, target
+ c.bnez x14, target
+ c.bnez x15, target
new file mode 100644
@@ -0,0 +1,3 @@
+target:
+ c.ebreak f
+ c.ebreak s0
new file mode 100644
@@ -0,0 +1,3 @@
+#as: -march=rv32ifd_zca
+#source: zc-zca-ebreak-fail.s
+#error_output: zc-zca-ebreak-rv32-fail.l
\ No newline at end of file
new file mode 100644
@@ -0,0 +1,3 @@
+.*: Assembler messages:
+.*: Error: illegal operands `c.ebreak f'
+.*: Error: illegal operands `c.ebreak s0'
\ No newline at end of file
new file mode 100644
@@ -0,0 +1,3 @@
+#as: -march=rv64ifd_zca
+#source: zc-zca-ebreak-fail.s
+#error_output: zc-zca-ebreak-rv64-fail.l
\ No newline at end of file
new file mode 100644
@@ -0,0 +1,3 @@
+.*: Assembler messages:
+.*: Error: illegal operands `c.ebreak f'
+.*: Error: illegal operands `c.ebreak s0'
\ No newline at end of file
new file mode 100644
@@ -0,0 +1,2 @@
+target:
+ c.j 2046.1
new file mode 100644
@@ -0,0 +1,3 @@
+#as: -march=rv32ifd_zca
+#source: zc-zca-j-fail.s
+#error_output: zc-zca-j-rv32-fail.l
\ No newline at end of file
new file mode 100644
@@ -0,0 +1,2 @@
+.*: Assembler messages:
+.*: Error: illegal operands `c.j 2046.1'
\ No newline at end of file
new file mode 100644
@@ -0,0 +1,11 @@
+#as: -march=rv32ifd_zca
+#source: zc-zca-j.s
+#objdump: -d -Mno-aliases
+
+.*:[ ]+file format .*
+
+
+Disassembly of section .text:
+
+0+000 <target>:
+[ ]+0:[ ]+a001[ ]+c.j[ ]+0[ ]+\<target\>
\ No newline at end of file
new file mode 100644
@@ -0,0 +1,3 @@
+#as: -march=rv64ifd_zca
+#source: zc-zca-j-fail.s
+#error_output: zc-zca-j-rv64-fail.l
\ No newline at end of file
new file mode 100644
@@ -0,0 +1,2 @@
+.*: Assembler messages:
+.*: Error: illegal operands `c.j 2046.1'
new file mode 100644
@@ -0,0 +1,11 @@
+#as: -march=rv64ifd_zca
+#source: zc-zca-j.s
+#objdump: -d -Mno-aliases
+
+.*:[ ]+file format .*
+
+
+Disassembly of section .text:
+
+0+000 <target>:
+[ ]+0:[ ]+a001[ ]+c.j[ ]+0[ ]+\<target\>
\ No newline at end of file
new file mode 100644
@@ -0,0 +1,2 @@
+target:
+ c.j target
new file mode 100644
@@ -0,0 +1,4 @@
+target:
+ c.jalr zero
+ c.jalr 2
+ c.jalr
new file mode 100644
@@ -0,0 +1,3 @@
+#as: -march=rv32ifd_zca
+#source: zc-zca-jalr-fail.s
+#error_output: zc-zca-jalr-rv32-fail.l
\ No newline at end of file
new file mode 100644
@@ -0,0 +1,4 @@
+.*: Assembler messages:
+.*: Error: illegal operands `c.jalr zero'
+.*: Error: illegal operands `c.jalr 2'
+.*: Error: illegal operands `c.jalr'
\ No newline at end of file
new file mode 100644
@@ -0,0 +1,20 @@
+#as: -march=rv32ifd_zca
+#source: zc-zca-jalr.s
+#objdump: -d -Mno-aliases
+
+.*:[ ]+file format .*
+
+
+Disassembly of section .text:
+
+0+000 <target>:
+[ ]+0:[ ]+9502[ ]+c.jalr[ ]+a0
+[ ]+2:[ ]+9082[ ]+c.jalr[ ]+ra
+[ ]+4:[ ]+9102[ ]+c.jalr[ ]+sp
+[ ]+6:[ ]+9182[ ]+c.jalr[ ]+gp
+[ ]+8:[ ]+9202[ ]+c.jalr[ ]+tp
+[ ]+a:[ ]+9282[ ]+c.jalr[ ]+t0
+[ ]+c:[ ]+9402[ ]+c.jalr[ ]+s0
+[ ]+e:[ ]+9882[ ]+c.jalr[ ]+a7
+[ ]+10:[ ]+9d82[ ]+c.jalr[ ]+s11
+[ ]+12:[ ]+9f82[ ]+c.jalr[ ]+t6
new file mode 100644
@@ -0,0 +1,3 @@
+#as: -march=rv64ifd_zca
+#source: zc-zca-jalr-fail.s
+#error_output: zc-zca-jalr-rv64-fail.l
\ No newline at end of file
new file mode 100644
@@ -0,0 +1,4 @@
+.*: Assembler messages:
+.*: Error: illegal operands `c.jalr zero'
+.*: Error: illegal operands `c.jalr 2'
+.*: Error: illegal operands `c.jalr'
\ No newline at end of file
new file mode 100644
@@ -0,0 +1,20 @@
+#as: -march=rv64ifd_zca
+#source: zc-zca-jalr.s
+#objdump: -d -Mno-aliases
+
+.*:[ ]+file format .*
+
+
+Disassembly of section .text:
+
+0+000 <target>:
+[ ]+0:[ ]+9502[ ]+c.jalr[ ]+a0
+[ ]+2:[ ]+9082[ ]+c.jalr[ ]+ra
+[ ]+4:[ ]+9102[ ]+c.jalr[ ]+sp
+[ ]+6:[ ]+9182[ ]+c.jalr[ ]+gp
+[ ]+8:[ ]+9202[ ]+c.jalr[ ]+tp
+[ ]+a:[ ]+9282[ ]+c.jalr[ ]+t0
+[ ]+c:[ ]+9402[ ]+c.jalr[ ]+s0
+[ ]+e:[ ]+9882[ ]+c.jalr[ ]+a7
+[ ]+10:[ ]+9d82[ ]+c.jalr[ ]+s11
+[ ]+12:[ ]+9f82[ ]+c.jalr[ ]+t6
new file mode 100644
@@ -0,0 +1,11 @@
+target:
+ c.jalr a0
+ c.jalr ra
+ c.jalr sp
+ c.jalr gp
+ c.jalr tp
+ c.jalr t0
+ c.jalr s0
+ c.jalr a7
+ c.jalr s11
+ c.jalr t6
new file mode 100644
@@ -0,0 +1,4 @@
+target:
+ c.jr zero
+ c.jr
+ c.jr 3
new file mode 100644
@@ -0,0 +1,3 @@
+#as: -march=rv32ifd_zca
+#source: zc-zca-jr-fail.s
+#error_output: zc-zca-jr-rv32-fail.l
\ No newline at end of file
new file mode 100644
@@ -0,0 +1,4 @@
+.*: Assembler messages:
+.*: Error: illegal operands `c.jr zero'
+.*: Error: illegal operands `c.jr'
+.*: Error: illegal operands `c.jr 3'
\ No newline at end of file
new file mode 100644
@@ -0,0 +1,20 @@
+#as: -march=rv32ifd_zca
+#source: zc-zca-jr.s
+#objdump: -d -Mno-aliases
+
+.*:[ ]+file format .*
+
+
+Disassembly of section .text:
+
+0+000 <target>:
+[ ]+0:[ ]+8502[ ]+c.jr[ ]+a0
+[ ]+2:[ ]+8082[ ]+c.jr[ ]+ra
+[ ]+4:[ ]+8102[ ]+c.jr[ ]+sp
+[ ]+6:[ ]+8182[ ]+c.jr[ ]+gp
+[ ]+8:[ ]+8202[ ]+c.jr[ ]+tp
+[ ]+a:[ ]+8282[ ]+c.jr[ ]+t0
+[ ]+c:[ ]+8402[ ]+c.jr[ ]+s0
+[ ]+e:[ ]+8882[ ]+c.jr[ ]+a7
+[ ]+10:[ ]+8d82[ ]+c.jr[ ]+s11
+[ ]+12:[ ]+8f82[ ]+c.jr[ ]+t6
new file mode 100644
@@ -0,0 +1,3 @@
+#as: -march=rv64ifd_zca
+#source: zc-zca-jr-fail.s
+#error_output: zc-zca-jr-rv64-fail.l
\ No newline at end of file
new file mode 100644
@@ -0,0 +1,4 @@
+.*: Assembler messages:
+.*: Error: illegal operands `c.jr zero'
+.*: Error: illegal operands `c.jr'
+.*: Error: illegal operands `c.jr 3'
\ No newline at end of file
new file mode 100644
@@ -0,0 +1,20 @@
+#as: -march=rv64ifd_zca
+#source: zc-zca-jr.s
+#objdump: -d -Mno-aliases
+
+.*:[ ]+file format .*
+
+
+Disassembly of section .text:
+
+0+000 <target>:
+[ ]+0:[ ]+8502[ ]+c.jr[ ]+a0
+[ ]+2:[ ]+8082[ ]+c.jr[ ]+ra
+[ ]+4:[ ]+8102[ ]+c.jr[ ]+sp
+[ ]+6:[ ]+8182[ ]+c.jr[ ]+gp
+[ ]+8:[ ]+8202[ ]+c.jr[ ]+tp
+[ ]+a:[ ]+8282[ ]+c.jr[ ]+t0
+[ ]+c:[ ]+8402[ ]+c.jr[ ]+s0
+[ ]+e:[ ]+8882[ ]+c.jr[ ]+a7
+[ ]+10:[ ]+8d82[ ]+c.jr[ ]+s11
+[ ]+12:[ ]+8f82[ ]+c.jr[ ]+t6
new file mode 100644
@@ -0,0 +1,11 @@
+target:
+ c.jr a0
+ c.jr ra
+ c.jr sp
+ c.jr gp
+ c.jr tp
+ c.jr t0
+ c.jr s0
+ c.jr a7
+ c.jr s11
+ c.jr t6
new file mode 100644
@@ -0,0 +1,26 @@
+target:
+ c.ld
+ c.ld ,
+ c.ld , (x9)
+ c.ld x8,
+ c.ld x8, 8
+ c.ld x8, x9
+
+ c.ld x7, (x9)
+ c.ld x16, (x8)
+ c.ld 8, (x8)
+
+ c.ld x10, (x7)
+ c.ld x10, (x16)
+ c.ld x10, (x0)
+ c.ld x10, (x2)
+ c.ld x10, (x31)
+
+ c.ld x11, 1(x8)
+ c.ld x11, 7(x8)
+ c.ld x11, -8(x8)
+ c.ld x11, 8.0(x8)
+ c.ld x11, 9(x8)
+ c.ld x11, 249(x8)
+ c.ld x11, 255(x8)
+ c.ld x11, 256(x8)
new file mode 100644
@@ -0,0 +1,3 @@
+#as: -march=rv64ifd_zca
+#source: zc-zca-ld-fail.s
+#error_output: zc-zca-ld-rv64-fail.l
new file mode 100644
@@ -0,0 +1,23 @@
+.*: Assembler messages:
+.*: Error: illegal operands `c.ld'
+.*: Error: illegal operands `c.ld ,'
+.*: Error: illegal operands `c.ld ,\(x9\)'
+.*: Error: illegal operands `c.ld x8,'
+.*: Error: illegal operands `c.ld x8,8'
+.*: Error: illegal operands `c.ld x8,x9'
+.*: Error: illegal operands `c.ld x7,\(x9\)'
+.*: Error: illegal operands `c.ld x16,\(x8\)'
+.*: Error: illegal operands `c.ld 8,\(x8\)'
+.*: Error: illegal operands `c.ld x10,\(x7\)'
+.*: Error: illegal operands `c.ld x10,\(x16\)'
+.*: Error: illegal operands `c.ld x10,\(x0\)'
+.*: Error: illegal operands `c.ld x10,\(x2\)'
+.*: Error: illegal operands `c.ld x10,\(x31\)'
+.*: Error: illegal operands `c.ld x11,1\(x8\)'
+.*: Error: illegal operands `c.ld x11,7\(x8\)'
+.*: Error: illegal operands `c.ld x11,-8\(x8\)'
+.*: Error: illegal operands `c.ld x11,8.0\(x8\)'
+.*: Error: illegal operands `c.ld x11,9\(x8\)'
+.*: Error: illegal operands `c.ld x11,249\(x8\)'
+.*: Error: illegal operands `c.ld x11,255\(x8\)'
+.*: Error: illegal operands `c.ld x11,256\(x8\)'
new file mode 100644
@@ -0,0 +1,15 @@
+#as: -march=rv64ifd_zca
+#source: zc-zca-ld.s
+#objdump: -d -Mno-aliases
+
+.*:[ ]+file format .*
+
+
+Disassembly of section .text:
+
+0+000 <target>:
+[ ]+0:[ ]+6380[ ]+c.ld[ ]+s0,0\(a5\)
+[ ]+2:[ ]+6504[ ]+c.ld[ ]+s1,8\(a0\)
+[ ]+4:[ ]+6988[ ]+c.ld[ ]+a0,16\(a1\)
+[ ]+6:[ ]+7c7c[ ]+c.ld[ ]+a5,248\(s0\)
+[ ]+8:[ ]+6502[ ]+c.ldsp[ ]+a0,0\(sp\)
new file mode 100644
@@ -0,0 +1,6 @@
+target:
+ c.ld x8, (x15)
+ c.ld x9, 8(x10)
+ c.ld x10, 16(x11)
+ c.ld x15, 248(x8)
+ ld a0, (sp)
new file mode 100644
@@ -0,0 +1,20 @@
+target:
+ c.ldsp
+ c.ldsp ,
+ c.ldsp , (x2)
+ c.ldsp x1,
+ c.ldsp x1, 8
+
+ c.ldsp x0, (x2)
+ c.ldsp 8, (x2)
+ c.ldsp x32, (x2)
+
+ c.ldsp x12, 1(x2)
+ c.ldsp x12, -1(x2)
+ c.ldsp x12, 2(x2)
+ c.ldsp x12, 7(x2)
+ c.ldsp x12, 8(x1)
+ c.ldsp x12, 8(x0)
+ c.ldsp x12, 9(x2)
+ c.ldsp x12, 512(x2)
+ c.ldsp x12, 511(x2)
new file mode 100644
@@ -0,0 +1,3 @@
+#as: -march=rv64ifd_zca
+#source: zc-zca-ldsp-fail.s
+#error_output: zc-zca-ldsp-rv64-fail.l
new file mode 100644
@@ -0,0 +1,18 @@
+.*: Assembler messages:
+.*: Error: illegal operands `c.ldsp'
+.*: Error: illegal operands `c.ldsp ,'
+.*: Error: illegal operands `c.ldsp ,\(x2\)'
+.*: Error: illegal operands `c.ldsp x1,'
+.*: Error: illegal operands `c.ldsp x1,8'
+.*: Error: illegal operands `c.ldsp x0,\(x2\)'
+.*: Error: illegal operands `c.ldsp 8,\(x2\)'
+.*: Error: illegal operands `c.ldsp x32,\(x2\)'
+.*: Error: illegal operands `c.ldsp x12,1\(x2\)'
+.*: Error: illegal operands `c.ldsp x12,-1\(x2\)'
+.*: Error: illegal operands `c.ldsp x12,2\(x2\)'
+.*: Error: illegal operands `c.ldsp x12,7\(x2\)'
+.*: Error: illegal operands `c.ldsp x12,8\(x1\)'
+.*: Error: illegal operands `c.ldsp x12,8\(x0\)'
+.*: Error: illegal operands `c.ldsp x12,9\(x2\)'
+.*: Error: illegal operands `c.ldsp x12,512\(x2\)'
+.*: Error: illegal operands `c.ldsp x12,511\(x2\)'
new file mode 100644
@@ -0,0 +1,17 @@
+#as: -march=rv64ifd_zca
+#source: zc-zca-ldsp.s
+#objdump: -d -Mno-aliases
+
+.*:[ ]+file format .*
+
+
+Disassembly of section .text:
+
+0+000 <target>:
+[ ]+0:[ ]+6082[ ]+c.ldsp[ ]+ra,0\(sp\)
+[ ]+2:[ ]+6122[ ]+c.ldsp[ ]+sp,8\(sp\)
+[ ]+4:[ ]+7182[ ]+c.ldsp[ ]+gp,32\(sp\)
+[ ]+6:[ ]+7222[ ]+c.ldsp[ ]+tp,40\(sp\)
+[ ]+8:[ ]+648a[ ]+c.ldsp[ ]+s1,128\(sp\)
+[ ]+a:[ ]+652a[ ]+c.ldsp[ ]+a0,136\(sp\)
+[ ]+c:[ ]+7ffe[ ]+c.ldsp[ ]+t6,504\(sp\)
new file mode 100644
@@ -0,0 +1,8 @@
+target:
+ c.ldsp x1, (sp)
+ c.ldsp x2, 8(sp)
+ c.ldsp x3, 32(sp)
+ c.ldsp x4, 40(sp)
+ c.ldsp x9, 128(sp)
+ c.ldsp x10, 136(sp)
+ c.ldsp x31, 504(sp)
new file mode 100644
@@ -0,0 +1,10 @@
+target:
+ c.li
+ c.li , 0
+ c.li x1,
+
+ c.li 1, 0
+ c.li x1, -33
+ c.li x1, 32
+ c.li x1, 0.0
+ c.li x1, x8
new file mode 100644
@@ -0,0 +1,3 @@
+#as: -march=rv32ifd_zca
+#source: zc-zca-li-fail.s
+#error_output: zc-zca-li-rv32-fail.l
\ No newline at end of file
new file mode 100644
@@ -0,0 +1,9 @@
+.*: Assembler messages:
+.*: Error: illegal operands `c.li'
+.*: Error: illegal operands `c.li ,0'
+.*: Error: illegal operands `c.li x1,'
+.*: Error: illegal operands `c.li 1,0'
+.*: Error: illegal operands `c.li x1,-33'
+.*: Error: illegal operands `c.li x1,32'
+.*: Error: illegal operands `c.li x1,0.0'
+.*: Error: illegal operands `c.li x1,x8'
new file mode 100644
@@ -0,0 +1,18 @@
+#as: -march=rv32ifd_zca
+#source: zc-zca-li.s
+#objdump: -d -Mno-aliases
+
+.*:[ ]+file format .*
+
+
+Disassembly of section .text:
+
+0+000 <target>:
+[ ]+0:[ ]+5081[ ]+c.li[ ]+ra,-32
+[ ]+2:[ ]+4101[ ]+c.li[ ]+sp,0
+[ ]+4:[ ]+41fd[ ]+c.li[ ]+gp,31
+[ ]+6:[ ]+5245[ ]+c.li[ ]+tp,-15
+[ ]+8:[ ]+54fd[ ]+c.li[ ]+s1,-1
+[ ]+a:[ ]+4505[ ]+c.li[ ]+a0,1
+[ ]+c:[ ]+4fc1[ ]+c.li[ ]+t6,16
+[ ]+e:[ ]+4051[ ]+c.li[ ]+zero,20
\ No newline at end of file
new file mode 100644
@@ -0,0 +1,3 @@
+#as: -march=rv64ifd_zca
+#source: zc-zca-li-fail.s
+#error_output: zc-zca-li-rv64-fail.l
\ No newline at end of file
new file mode 100644
@@ -0,0 +1,9 @@
+.*: Assembler messages:
+.*: Error: illegal operands `c.li'
+.*: Error: illegal operands `c.li ,0'
+.*: Error: illegal operands `c.li x1,'
+.*: Error: illegal operands `c.li 1,0'
+.*: Error: illegal operands `c.li x1,-33'
+.*: Error: illegal operands `c.li x1,32'
+.*: Error: illegal operands `c.li x1,0.0'
+.*: Error: illegal operands `c.li x1,x8'
new file mode 100644
@@ -0,0 +1,18 @@
+#as: -march=rv64ifd_zca
+#source: zc-zca-li.s
+#objdump: -d -Mno-aliases
+
+.*:[ ]+file format .*
+
+
+Disassembly of section .text:
+
+0+000 <target>:
+[ ]+0:[ ]+5081[ ]+c.li[ ]+ra,-32
+[ ]+2:[ ]+4101[ ]+c.li[ ]+sp,0
+[ ]+4:[ ]+41fd[ ]+c.li[ ]+gp,31
+[ ]+6:[ ]+5245[ ]+c.li[ ]+tp,-15
+[ ]+8:[ ]+54fd[ ]+c.li[ ]+s1,-1
+[ ]+a:[ ]+4505[ ]+c.li[ ]+a0,1
+[ ]+c:[ ]+4fc1[ ]+c.li[ ]+t6,16
+[ ]+e:[ ]+4051[ ]+c.li[ ]+zero,20
new file mode 100644
@@ -0,0 +1,9 @@
+target:
+ c.li x1, -32
+ c.li x2, 0
+ c.li x3, 31
+ c.li x4, -15
+ c.li x9, -1
+ c.li x10, 1
+ c.li x31, 16
+ c.li x0, 20
new file mode 100644
@@ -0,0 +1,14 @@
+target:
+ c.lui
+ c.lui , 31
+ c.lui x4,
+
+ c.lui x2, 4
+ c.lui 2, 4
+
+ c.lui x31, x0
+ c.lui x31, x2
+ c.lui x31, -1
+ c.lui x31, 32
+ c.lui x31, 1.0
+ c.lui x31, 0
new file mode 100644
@@ -0,0 +1,3 @@
+#as: -march=rv32ifd_zca
+#source: zc-zca-lui-fail.s
+#error_output: zc-zca-lui-rv32-fail.l
\ No newline at end of file
new file mode 100644
@@ -0,0 +1,12 @@
+.*: Assembler messages:
+.*: Error: illegal operands `c.lui'
+.*: Error: illegal operands `c.lui ,31'
+.*: Error: illegal operands `c.lui x4,'
+.*: Error: illegal operands `c.lui x2,4'
+.*: Error: illegal operands `c.lui 2,4'
+.*: Error: illegal operands `c.lui x31,x0'
+.*: Error: illegal operands `c.lui x31,x2'
+.*: Error: illegal operands `c.lui x31,-1'
+.*: Error: illegal operands `c.lui x31,32'
+.*: Error: illegal operands `c.lui x31,1.0'
+.*: Error: illegal operands `c.lui x31,0'
new file mode 100644
@@ -0,0 +1,17 @@
+#as: -march=rv32ifd_zca
+#source: zc-zca-lui.s
+#objdump: -d -Mno-aliases
+
+.*:[ ]+file format .*
+
+
+Disassembly of section .text:
+
+0+000 <target>:
+[ ]+0:[ ]+6085[ ]+c.lui[ ]+ra,0x1
+[ ]+2:[ ]+61fd[ ]+c.lui[ ]+gp,0x1f
+[ ]+4:[ ]+6239[ ]+c.lui[ ]+tp,0xe
+[ ]+6:[ ]+64a5[ ]+c.lui[ ]+s1,0x9
+[ ]+8:[ ]+6511[ ]+c.lui[ ]+a0,0x4
+[ ]+a:[ ]+6fe5[ ]+c.lui[ ]+t6,0x19
+[ ]+c:[ ]+6025[ ]+c.lui[ ]+zero,0x9
new file mode 100644
@@ -0,0 +1,3 @@
+#as: -march=rv64ifd_zca
+#source: zc-zca-lui-fail.s
+#error_output: zc-zca-lui-rv64-fail.l
\ No newline at end of file
new file mode 100644
@@ -0,0 +1,12 @@
+.*: Assembler messages:
+.*: Error: illegal operands `c.lui'
+.*: Error: illegal operands `c.lui ,31'
+.*: Error: illegal operands `c.lui x4,'
+.*: Error: illegal operands `c.lui x2,4'
+.*: Error: illegal operands `c.lui 2,4'
+.*: Error: illegal operands `c.lui x31,x0'
+.*: Error: illegal operands `c.lui x31,x2'
+.*: Error: illegal operands `c.lui x31,-1'
+.*: Error: illegal operands `c.lui x31,32'
+.*: Error: illegal operands `c.lui x31,1.0'
+.*: Error: illegal operands `c.lui x31,0'
new file mode 100644
@@ -0,0 +1,17 @@
+#as: -march=rv64ifd_zca
+#source: zc-zca-lui.s
+#objdump: -d -Mno-aliases
+
+.*:[ ]+file format .*
+
+
+Disassembly of section .text:
+
+0+000 <target>:
+[ ]+0:[ ]+6085[ ]+c.lui[ ]+ra,0x1
+[ ]+2:[ ]+61fd[ ]+c.lui[ ]+gp,0x1f
+[ ]+4:[ ]+6239[ ]+c.lui[ ]+tp,0xe
+[ ]+6:[ ]+64a5[ ]+c.lui[ ]+s1,0x9
+[ ]+8:[ ]+6511[ ]+c.lui[ ]+a0,0x4
+[ ]+a:[ ]+6fe5[ ]+c.lui[ ]+t6,0x19
+[ ]+c:[ ]+6025[ ]+c.lui[ ]+zero,0x9
new file mode 100644
@@ -0,0 +1,8 @@
+target:
+ c.lui x1, 1
+ c.lui x3, 31
+ c.lui x4, 14
+ c.lui x9, 9
+ c.lui x10, 4
+ c.lui x31, 25
+ c.lui x0, 9
new file mode 100644
@@ -0,0 +1,27 @@
+target:
+ c.lw
+ c.lw , (x9)
+ c.lw x8,
+ c.lw x8, 124
+ c.lw x8, x9
+
+ c.lw x0, (x9)
+ c.lw x1, (x9)
+ c.lw x7, (x9)
+ c.lw x16, (x8)
+ c.lw 4, (x8)
+
+ c.lw x10, (x7)
+ c.lw x10, (x16)
+ c.lw x10, (x0)
+ c.lw x10, (x2)
+ c.lw x10, (x31)
+
+ c.lw x11, 1(x8)
+ c.lw x11, 2(x8)
+ c.lw x11, 3(x8)
+ c.lw x11, -4(x8)
+ c.lw x11, 5(x8)
+ c.lw x11, 123(x8)
+ c.lw x11, 125(x8)
+ c.lw x11, 128(x8)
new file mode 100644
@@ -0,0 +1,3 @@
+#as: -march=rv32ifd_zca
+#source: zc-zca-lw-fail.s
+#error_output: zc-zca-lw-rv32-fail.l
\ No newline at end of file
new file mode 100644
@@ -0,0 +1,24 @@
+.*: Assembler messages:
+.*: Error: illegal operands `c.lw'
+.*: Error: illegal operands `c.lw ,\(x9\)'
+.*: Error: illegal operands `c.lw x8,'
+.*: Error: illegal operands `c.lw x8,124'
+.*: Error: illegal operands `c.lw x8,x9'
+.*: Error: illegal operands `c.lw x0,\(x9\)'
+.*: Error: illegal operands `c.lw x1,\(x9\)'
+.*: Error: illegal operands `c.lw x7,\(x9\)'
+.*: Error: illegal operands `c.lw x16,\(x8\)'
+.*: Error: illegal operands `c.lw 4,\(x8\)'
+.*: Error: illegal operands `c.lw x10,\(x7\)'
+.*: Error: illegal operands `c.lw x10,\(x16\)'
+.*: Error: illegal operands `c.lw x10,\(x0\)'
+.*: Error: illegal operands `c.lw x10,\(x2\)'
+.*: Error: illegal operands `c.lw x10,\(x31\)'
+.*: Error: illegal operands `c.lw x11,1\(x8\)'
+.*: Error: illegal operands `c.lw x11,2\(x8\)'
+.*: Error: illegal operands `c.lw x11,3\(x8\)'
+.*: Error: illegal operands `c.lw x11,-4\(x8\)'
+.*: Error: illegal operands `c.lw x11,5\(x8\)'
+.*: Error: illegal operands `c.lw x11,123\(x8\)'
+.*: Error: illegal operands `c.lw x11,125\(x8\)'
+.*: Error: illegal operands `c.lw x11,128\(x8\)'
new file mode 100644
@@ -0,0 +1,19 @@
+#as: -march=rv32ifd_zca
+#source: zc-zca-lw.s
+#objdump: -d -Mno-aliases
+
+.*:[ ]+file format .*
+
+
+Disassembly of section .text:
+
+0+000 <target>:
+[ ]+0:[ ]+4080[ ]+c.lw[ ]+s0,0\(s1\)
+[ ]+2:[ ]+5104[ ]+c.lw[ ]+s1,32\(a0\)
+[ ]+4:[ ]+5de8[ ]+c.lw[ ]+a0,124\(a1\)
+[ ]+6:[ ]+422c[ ]+c.lw[ ]+a1,64\(a2\)
+[ ]+8:[ ]+42f0[ ]+c.lw[ ]+a2,68\(a3\)
+[ ]+a:[ ]+4354[ ]+c.lw[ ]+a3,4\(a4\)
+[ ]+c:[ ]+4798[ ]+c.lw[ ]+a4,8\(a5\)
+[ ]+e:[ ]+481c[ ]+c.lw[ ]+a5,16\(s0\)
+[ ]+10:[ ]+4502[ ]+c.lwsp[ ]+a0,0\(sp\)
new file mode 100644
@@ -0,0 +1,3 @@
+#as: -march=rv64ifd_zca
+#source: zc-zca-lw-fail.s
+#error_output: zc-zca-lw-rv64-fail.l
\ No newline at end of file
new file mode 100644
@@ -0,0 +1,24 @@
+.*: Assembler messages:
+.*: Error: illegal operands `c.lw'
+.*: Error: illegal operands `c.lw ,\(x9\)'
+.*: Error: illegal operands `c.lw x8,'
+.*: Error: illegal operands `c.lw x8,124'
+.*: Error: illegal operands `c.lw x8,x9'
+.*: Error: illegal operands `c.lw x0,\(x9\)'
+.*: Error: illegal operands `c.lw x1,\(x9\)'
+.*: Error: illegal operands `c.lw x7,\(x9\)'
+.*: Error: illegal operands `c.lw x16,\(x8\)'
+.*: Error: illegal operands `c.lw 4,\(x8\)'
+.*: Error: illegal operands `c.lw x10,\(x7\)'
+.*: Error: illegal operands `c.lw x10,\(x16\)'
+.*: Error: illegal operands `c.lw x10,\(x0\)'
+.*: Error: illegal operands `c.lw x10,\(x2\)'
+.*: Error: illegal operands `c.lw x10,\(x31\)'
+.*: Error: illegal operands `c.lw x11,1\(x8\)'
+.*: Error: illegal operands `c.lw x11,2\(x8\)'
+.*: Error: illegal operands `c.lw x11,3\(x8\)'
+.*: Error: illegal operands `c.lw x11,-4\(x8\)'
+.*: Error: illegal operands `c.lw x11,5\(x8\)'
+.*: Error: illegal operands `c.lw x11,123\(x8\)'
+.*: Error: illegal operands `c.lw x11,125\(x8\)'
+.*: Error: illegal operands `c.lw x11,128\(x8\)'
\ No newline at end of file
new file mode 100644
@@ -0,0 +1,19 @@
+#as: -march=rv64ifd_zca
+#source: zc-zca-lw.s
+#objdump: -d -Mno-aliases
+
+.*:[ ]+file format .*
+
+
+Disassembly of section .text:
+
+0+000 <target>:
+[ ]+0:[ ]+4080[ ]+c.lw[ ]+s0,0\(s1\)
+[ ]+2:[ ]+5104[ ]+c.lw[ ]+s1,32\(a0\)
+[ ]+4:[ ]+5de8[ ]+c.lw[ ]+a0,124\(a1\)
+[ ]+6:[ ]+422c[ ]+c.lw[ ]+a1,64\(a2\)
+[ ]+8:[ ]+42f0[ ]+c.lw[ ]+a2,68\(a3\)
+[ ]+a:[ ]+4354[ ]+c.lw[ ]+a3,4\(a4\)
+[ ]+c:[ ]+4798[ ]+c.lw[ ]+a4,8\(a5\)
+[ ]+e:[ ]+481c[ ]+c.lw[ ]+a5,16\(s0\)
+[ ]+10:[ ]+4502[ ]+c.lwsp[ ]+a0,0\(sp\)
new file mode 100644
@@ -0,0 +1,10 @@
+target:
+ c.lw x8, (x9)
+ c.lw x9, 32(x10)
+ c.lw x10, 124(x11)
+ c.lw x11, 64(x12)
+ c.lw x12, 68(x13)
+ c.lw x13, 4(x14)
+ c.lw x14, 8(x15)
+ c.lw x15, 16(x8)
+ lw a0, (sp)
new file mode 100644
@@ -0,0 +1,22 @@
+target:
+ c.lwsp
+ c.lwsp , (x2)
+ c.lwsp x1,
+ c.lwsp x1, 4
+
+ c.lwsp x0, (x2)
+ c.lwsp 4, (x2)
+ c.lwsp x32, (x2)
+
+ c.lwsp x12, 1(x2)
+ c.lwsp x12, -1(x2)
+ c.lwsp x12, 2(x2)
+ c.lwsp x12, 3(x2)
+ c.lwsp x12, 4(x3)
+ c.lwsp x12, 8(x1)
+ c.lwsp x12, 12(x0)
+ c.lwsp x12, 5(x2)
+ c.lwsp x12, 253(x2)
+ c.lwsp x12, 254(x2)
+ c.lwsp x12, 255(x2)
+ c.lwsp x12, 256(x2)
new file mode 100644
@@ -0,0 +1,3 @@
+#as: -march=rv32ifd_zca
+#source: zc-zca-lwsp-fail.s
+#error_output: zc-zca-lwsp-rv32-fail.l
\ No newline at end of file
new file mode 100644
@@ -0,0 +1,20 @@
+.*: Assembler messages:
+.*: Error: illegal operands `c.lwsp'
+.*: Error: illegal operands `c.lwsp ,\(x2\)'
+.*: Error: illegal operands `c.lwsp x1,'
+.*: Error: illegal operands `c.lwsp x1,4'
+.*: Error: illegal operands `c.lwsp x0,\(x2\)'
+.*: Error: illegal operands `c.lwsp 4,\(x2\)'
+.*: Error: illegal operands `c.lwsp x32,\(x2\)'
+.*: Error: illegal operands `c.lwsp x12,1\(x2\)'
+.*: Error: illegal operands `c.lwsp x12,-1\(x2\)'
+.*: Error: illegal operands `c.lwsp x12,2\(x2\)'
+.*: Error: illegal operands `c.lwsp x12,3\(x2\)'
+.*: Error: illegal operands `c.lwsp x12,4\(x3\)'
+.*: Error: illegal operands `c.lwsp x12,8\(x1\)'
+.*: Error: illegal operands `c.lwsp x12,12\(x0\)'
+.*: Error: illegal operands `c.lwsp x12,5\(x2\)'
+.*: Error: illegal operands `c.lwsp x12,253\(x2\)'
+.*: Error: illegal operands `c.lwsp x12,254\(x2\)'
+.*: Error: illegal operands `c.lwsp x12,255\(x2\)'
+.*: Error: illegal operands `c.lwsp x12,256\(x2\)'
new file mode 100644
@@ -0,0 +1,18 @@
+#as: -march=rv32ifd_zca
+#source: zc-zca-lwsp.s
+#objdump: -d -Mno-aliases
+
+.*:[ ]+file format .*
+
+
+Disassembly of section .text:
+
+0+000 <target>:
+[ ]+0:[ ]+4082[ ]+c.lwsp[ ]+ra,0\(sp\)
+[ ]+2:[ ]+4112[ ]+c.lwsp[ ]+sp,4\(sp\)
+[ ]+4:[ ]+41a2[ ]+c.lwsp[ ]+gp,8\(sp\)
+[ ]+6:[ ]+5202[ ]+c.lwsp[ ]+tp,32\(sp\)
+[ ]+8:[ ]+54a2[ ]+c.lwsp[ ]+s1,40\(sp\)
+[ ]+a:[ ]+5576[ ]+c.lwsp[ ]+a0,124\(sp\)
+[ ]+c:[ ]+458a[ ]+c.lwsp[ ]+a1,128\(sp\)
+[ ]+e:[ ]+5ffe[ ]+c.lwsp[ ]+t6,252\(sp\)
\ No newline at end of file
new file mode 100644
@@ -0,0 +1,3 @@
+#as: -march=rv64ifd_zca
+#source: zc-zca-lwsp-fail.s
+#error_output: zc-zca-lwsp-rv64-fail.l
\ No newline at end of file
new file mode 100644
@@ -0,0 +1,20 @@
+.*: Assembler messages:
+.*: Error: illegal operands `c.lwsp'
+.*: Error: illegal operands `c.lwsp ,\(x2\)'
+.*: Error: illegal operands `c.lwsp x1,'
+.*: Error: illegal operands `c.lwsp x1,4'
+.*: Error: illegal operands `c.lwsp x0,\(x2\)'
+.*: Error: illegal operands `c.lwsp 4,\(x2\)'
+.*: Error: illegal operands `c.lwsp x32,\(x2\)'
+.*: Error: illegal operands `c.lwsp x12,1\(x2\)'
+.*: Error: illegal operands `c.lwsp x12,-1\(x2\)'
+.*: Error: illegal operands `c.lwsp x12,2\(x2\)'
+.*: Error: illegal operands `c.lwsp x12,3\(x2\)'
+.*: Error: illegal operands `c.lwsp x12,4\(x3\)'
+.*: Error: illegal operands `c.lwsp x12,8\(x1\)'
+.*: Error: illegal operands `c.lwsp x12,12\(x0\)'
+.*: Error: illegal operands `c.lwsp x12,5\(x2\)'
+.*: Error: illegal operands `c.lwsp x12,253\(x2\)'
+.*: Error: illegal operands `c.lwsp x12,254\(x2\)'
+.*: Error: illegal operands `c.lwsp x12,255\(x2\)'
+.*: Error: illegal operands `c.lwsp x12,256\(x2\)'
new file mode 100644
@@ -0,0 +1,18 @@
+#as: -march=rv64ifd_zca
+#source: zc-zca-lwsp.s
+#objdump: -d -Mno-aliases
+
+.*:[ ]+file format .*
+
+
+Disassembly of section .text:
+
+0+000 <target>:
+[ ]+0:[ ]+4082[ ]+c.lwsp[ ]+ra,0\(sp\)
+[ ]+2:[ ]+4112[ ]+c.lwsp[ ]+sp,4\(sp\)
+[ ]+4:[ ]+41a2[ ]+c.lwsp[ ]+gp,8\(sp\)
+[ ]+6:[ ]+5202[ ]+c.lwsp[ ]+tp,32\(sp\)
+[ ]+8:[ ]+54a2[ ]+c.lwsp[ ]+s1,40\(sp\)
+[ ]+a:[ ]+5576[ ]+c.lwsp[ ]+a0,124\(sp\)
+[ ]+c:[ ]+458a[ ]+c.lwsp[ ]+a1,128\(sp\)
+[ ]+e:[ ]+5ffe[ ]+c.lwsp[ ]+t6,252\(sp\)
new file mode 100644
@@ -0,0 +1,9 @@
+target:
+ c.lwsp x1, (x2)
+ c.lwsp x2, 4(x2)
+ c.lwsp x3, 8(x2)
+ c.lwsp x4, 32(x2)
+ c.lwsp x9, 40(x2)
+ c.lwsp x10, 124(x2)
+ c.lwsp x11, 128(x2)
+ c.lwsp x31, 252(x2)
new file mode 100644
@@ -0,0 +1,9 @@
+target:
+ c.mv
+ c.mv , x1
+ c.mv x1,
+
+ c.mv x0, x0
+ c.mv 1, x1
+ c.mv x1, x0
+ c.mv x1, 0
new file mode 100644
@@ -0,0 +1,3 @@
+#as: -march=rv32ifd_zca
+#source: zc-zca-mv-fail.s
+#error_output: zc-zca-mv-rv32-fail.l
\ No newline at end of file
new file mode 100644
@@ -0,0 +1,8 @@
+.*: Assembler messages:
+.*: Error: illegal operands `c.mv'
+.*: Error: illegal operands `c.mv ,x1'
+.*: Error: illegal operands `c.mv x1,'
+.*: Error: illegal operands `c.mv x0,x0'
+.*: Error: illegal operands `c.mv 1,x1'
+.*: Error: illegal operands `c.mv x1,x0'
+.*: Error: illegal operands `c.mv x1,0'
\ No newline at end of file
new file mode 100644
@@ -0,0 +1,20 @@
+#as: -march=rv32ifd_zca
+#source: zc-zca-mv.s
+#objdump: -d -Mno-aliases
+
+.*:[ ]+file format .*
+
+
+Disassembly of section .text:
+
+0+000 <target>:
+[ ]+0:[ ]+808a[ ]+c.mv[ ]+ra,sp
+[ ]+2:[ ]+8106[ ]+c.mv[ ]+sp,ra
+[ ]+4:[ ]+818a[ ]+c.mv[ ]+gp,sp
+[ ]+6:[ ]+820e[ ]+c.mv[ ]+tp,gp
+[ ]+8:[ ]+84a6[ ]+c.mv[ ]+s1,s1
+[ ]+a:[ ]+852e[ ]+c.mv[ ]+a0,a1
+[ ]+c:[ ]+85aa[ ]+c.mv[ ]+a1,a0
+[ ]+e:[ ]+87b6[ ]+c.mv[ ]+a5,a3
+[ ]+10:[ ]+8f8a[ ]+c.mv[ ]+t6,sp
+[ ]+12:[ ]+8006[ ]+c.mv[ ]+zero,ra
new file mode 100644
@@ -0,0 +1,3 @@
+#as: -march=rv64ifd_zca
+#source: zc-zca-mv-fail.s
+#error_output: zc-zca-mv-rv64-fail.l
\ No newline at end of file
new file mode 100644
@@ -0,0 +1,8 @@
+.*: Assembler messages:
+.*: Error: illegal operands `c.mv'
+.*: Error: illegal operands `c.mv ,x1'
+.*: Error: illegal operands `c.mv x1,'
+.*: Error: illegal operands `c.mv x0,x0'
+.*: Error: illegal operands `c.mv 1,x1'
+.*: Error: illegal operands `c.mv x1,x0'
+.*: Error: illegal operands `c.mv x1,0'
new file mode 100644
@@ -0,0 +1,20 @@
+#as: -march=rv64ifd_zca
+#source: zc-zca-mv.s
+#objdump: -d -Mno-aliases
+
+.*:[ ]+file format .*
+
+
+Disassembly of section .text:
+
+0+000 <target>:
+[ ]+0:[ ]+808a[ ]+c.mv[ ]+ra,sp
+[ ]+2:[ ]+8106[ ]+c.mv[ ]+sp,ra
+[ ]+4:[ ]+818a[ ]+c.mv[ ]+gp,sp
+[ ]+6:[ ]+820e[ ]+c.mv[ ]+tp,gp
+[ ]+8:[ ]+84a6[ ]+c.mv[ ]+s1,s1
+[ ]+a:[ ]+852e[ ]+c.mv[ ]+a0,a1
+[ ]+c:[ ]+85aa[ ]+c.mv[ ]+a1,a0
+[ ]+e:[ ]+87b6[ ]+c.mv[ ]+a5,a3
+[ ]+10:[ ]+8f8a[ ]+c.mv[ ]+t6,sp
+[ ]+12:[ ]+8006[ ]+c.mv[ ]+zero,ra
new file mode 100644
@@ -0,0 +1,11 @@
+target:
+ c.mv x1, x2
+ c.mv x2, x1
+ c.mv x3, x2
+ c.mv x4, x3
+ c.mv x9, x9
+ c.mv x10, x11
+ c.mv x11, x10
+ c.mv x15, x13
+ c.mv x31, x2
+ c.mv x0, x1
new file mode 100644
@@ -0,0 +1,9 @@
+target:
+ nop 0.1
+ nop 1
+ nop x9
+
+ c.nop 32
+ c.nop -33
+ c.nop 0.0
+ c.nop x8
new file mode 100644
@@ -0,0 +1,3 @@
+#as: -march=rv32ifd_zca
+#source: zc-zca-nop-fail.s
+#error_output: zc-zca-nop-rv32-fail.l
\ No newline at end of file
new file mode 100644
@@ -0,0 +1,8 @@
+.*: Assembler messages:
+.*: Error: illegal operands `nop 0.1'
+.*: Error: illegal operands `nop 1'
+.*: Error: illegal operands `nop x9'
+.*: Error: illegal operands `c.nop 32'
+.*: Error: illegal operands `c.nop -33'
+.*: Error: illegal operands `c.nop 0.0'
+.*: Error: illegal operands `c.nop x8'
new file mode 100644
@@ -0,0 +1,15 @@
+#as: -march=rv32ifd_zca
+#source: zc-zca-nop.s
+#objdump: -d -Mno-aliases
+
+.*:[ ]+file format .*
+
+
+Disassembly of section .text:
+
+0+000 <target>:
+[ ]+0:[ ]+0001[ ]+c.addi[ ]+zero,0
+[ ]+2:[ ]+007d[ ]+c.addi[ ]+zero,31
+[ ]+4:[ ]+1001[ ]+c.addi[ ]+zero,-32
+[ ]+6:[ ]+0001[ ]+c.addi[ ]+zero,0
+[ ]+8:[ ]+0041[ ]+c.addi[ ]+zero,16
new file mode 100644
@@ -0,0 +1,3 @@
+#as: -march=rv64ifd_zca
+#source: zc-zca-nop-fail.s
+#error_output: zc-zca-nop-rv64-fail.l
\ No newline at end of file
new file mode 100644
@@ -0,0 +1,8 @@
+.*: Assembler messages:
+.*: Error: illegal operands `nop 0.1'
+.*: Error: illegal operands `nop 1'
+.*: Error: illegal operands `nop x9'
+.*: Error: illegal operands `c.nop 32'
+.*: Error: illegal operands `c.nop -33'
+.*: Error: illegal operands `c.nop 0.0'
+.*: Error: illegal operands `c.nop x8'
new file mode 100644
@@ -0,0 +1,15 @@
+#as: -march=rv64ifd_zca
+#source: zc-zca-nop.s
+#objdump: -d -Mno-aliases
+
+.*:[ ]+file format .*
+
+
+Disassembly of section .text:
+
+0+000 <target>:
+[ ]+0:[ ]+0001[ ]+c.addi[ ]+zero,0
+[ ]+2:[ ]+007d[ ]+c.addi[ ]+zero,31
+[ ]+4:[ ]+1001[ ]+c.addi[ ]+zero,-32
+[ ]+6:[ ]+0001[ ]+c.addi[ ]+zero,0
+[ ]+8:[ ]+0041[ ]+c.addi[ ]+zero,16
new file mode 100644
@@ -0,0 +1,6 @@
+target:
+ nop
+ c.nop 31
+ c.nop -32
+ c.nop
+ c.nop 16
new file mode 100644
@@ -0,0 +1,14 @@
+target:
+ c.or
+ c.or ,
+ c.or , x8
+ c.or x8,
+ c.or , ,
+
+ c.or x7, x8
+ c.or x16, x8
+ c.or 3, x8
+
+ c.or x8, x7
+ c.or x8, x16
+ c.or x8, 3
new file mode 100644
@@ -0,0 +1,3 @@
+#as: -march=rv32ifd_zca
+#source: zc-zca-or-fail.s
+#error_output: zc-zca-or-rv32-fail.l
new file mode 100644
@@ -0,0 +1,12 @@
+.*: Assembler messages:
+.*: Error: illegal operands `c.or'
+.*: Error: illegal operands `c.or ,'
+.*: Error: illegal operands `c.or ,x8'
+.*: Error: illegal operands `c.or x8,'
+.*: Error: illegal operands `c.or ,,'
+.*: Error: illegal operands `c.or x7,x8'
+.*: Error: illegal operands `c.or x16,x8'
+.*: Error: illegal operands `c.or 3,x8'
+.*: Error: illegal operands `c.or x8,x7'
+.*: Error: illegal operands `c.or x8,x16'
+.*: Error: illegal operands `c.or x8,3'
new file mode 100644
@@ -0,0 +1,14 @@
+#as: -march=rv32ifd_zca
+#source: zc-zca-or.s
+#objdump: -d -Mno-aliases
+
+.*:[ ]+file format .*
+
+
+Disassembly of section .text:
+
+0+000 <target>:
+[ ]+0:[ ]+8c45[ ]+c.or[ ]+s0,s1
+[ ]+2:[ ]+8d4d[ ]+c.or[ ]+a0,a1
+[ ]+4:[ ]+8fdd[ ]+c.or[ ]+a5,a5
+[ ]+6:[ ]+00a4e433[ ]+or[ ]+s0,s1,a0
new file mode 100644
@@ -0,0 +1,3 @@
+#as: -march=rv64ifd_zca
+#source: zc-zca-or-fail.s
+#error_output: zc-zca-or-rv64-fail.l
new file mode 100644
@@ -0,0 +1,12 @@
+.*: Assembler messages:
+.*: Error: illegal operands `c.or'
+.*: Error: illegal operands `c.or ,'
+.*: Error: illegal operands `c.or ,x8'
+.*: Error: illegal operands `c.or x8,'
+.*: Error: illegal operands `c.or ,,'
+.*: Error: illegal operands `c.or x7,x8'
+.*: Error: illegal operands `c.or x16,x8'
+.*: Error: illegal operands `c.or 3,x8'
+.*: Error: illegal operands `c.or x8,x7'
+.*: Error: illegal operands `c.or x8,x16'
+.*: Error: illegal operands `c.or x8,3'
new file mode 100644
@@ -0,0 +1,14 @@
+#as: -march=rv64ifd_zca
+#source: zc-zca-or.s
+#objdump: -d -Mno-aliases
+
+.*:[ ]+file format .*
+
+
+Disassembly of section .text:
+
+0+000 <target>:
+[ ]+0:[ ]+8c45[ ]+c.or[ ]+s0,s1
+[ ]+2:[ ]+8d4d[ ]+c.or[ ]+a0,a1
+[ ]+4:[ ]+8fdd[ ]+c.or[ ]+a5,a5
+[ ]+6:[ ]+00a4e433[ ]+or[ ]+s0,s1,a0
new file mode 100644
@@ -0,0 +1,5 @@
+target:
+ c.or x8, x9
+ c.or x10,x11
+ c.or x15,x15
+ or x8,x9,x10
new file mode 100644
@@ -0,0 +1,3 @@
+#as: -march=rv32ifd_zca
+#source: zc-zca-rv32-jal-fail.s
+#error_output: zc-zca-rv32-jal-fail.l
\ No newline at end of file
new file mode 100644
@@ -0,0 +1,2 @@
+.*: Assembler messages:
+.*: Error: illegal operands `c.jal 2046.1'
\ No newline at end of file
new file mode 100644
@@ -0,0 +1,2 @@
+target:
+ c.jal 2046.1
new file mode 100644
@@ -0,0 +1,11 @@
+#as: -march=rv32ifd_zca
+#source: zc-zca-rv32-jal.s
+#objdump: -d -Mno-aliases
+
+.*:[ ]+file format .*
+
+
+Disassembly of section .text:
+
+0+000 <target>:
+[ ]+0:[ ]+2001[ ]+c.jal[ ]+0[ ]+\<target\>
\ No newline at end of file
new file mode 100644
@@ -0,0 +1,2 @@
+target:
+ c.jal target
new file mode 100644
@@ -0,0 +1,3 @@
+#as: -march=rv64ifd_zca
+#source: zc-zca-rv64-addw-fail.s
+#error_output: zc-zca-rv64-addw-fail.l
new file mode 100644
@@ -0,0 +1,12 @@
+.*: Assembler messages:
+.*: Error: illegal operands `c.addw'
+.*: Error: illegal operands `c.addw ,'
+.*: Error: illegal operands `c.addw ,x8'
+.*: Error: illegal operands `c.addw x8,'
+.*: Error: illegal operands `c.addw ,,'
+.*: Error: illegal operands `c.addw x7,x8'
+.*: Error: illegal operands `c.addw x16,x8'
+.*: Error: illegal operands `c.addw 3,x8'
+.*: Error: illegal operands `c.addw x8,x7'
+.*: Error: illegal operands `c.addw x8,x16'
+.*: Error: illegal operands `c.addw x8,3'
new file mode 100644
@@ -0,0 +1,14 @@
+target:
+ c.addw
+ c.addw ,
+ c.addw , x8
+ c.addw x8,
+ c.addw , ,
+
+ c.addw x7, x8
+ c.addw x16, x8
+ c.addw 3, x8
+
+ c.addw x8, x7
+ c.addw x8, x16
+ c.addw x8, 3
new file mode 100644
@@ -0,0 +1,14 @@
+#as: -march=rv64ifd_zca
+#source: zc-zca-rv64-addw.s
+#objdump: -d -Mno-aliases
+
+.*:[ ]+file format .*
+
+
+Disassembly of section .text:
+
+0+000 <target>:
+[ ]+0:[ ]+9c25[ ]+c.addw[ ]+s0,s1
+[ ]+2:[ ]+9d2d[ ]+c.addw[ ]+a0,a1
+[ ]+4:[ ]+9fbd[ ]+c.addw[ ]+a5,a5
+[ ]+6:[ ]+00a4843b[ ]+addw[ ]+s0,s1,a0
new file mode 100644
@@ -0,0 +1,5 @@
+target:
+ c.addw x8, x9
+ c.addw x10,x11
+ c.addw x15,x15
+ addw x8,x9,x10
new file mode 100644
@@ -0,0 +1,3 @@
+#as: -march=rv64ifd_zca
+#source: zc-zca-rv64-subw-fail.s
+#error_output: zc-zca-rv64-subw-fail.l
new file mode 100644
@@ -0,0 +1,12 @@
+.*: Assembler messages:
+.*: Error: illegal operands `c.subw'
+.*: Error: illegal operands `c.subw ,'
+.*: Error: illegal operands `c.subw ,x8'
+.*: Error: illegal operands `c.subw x8,'
+.*: Error: illegal operands `c.subw ,,'
+.*: Error: illegal operands `c.subw x7,x8'
+.*: Error: illegal operands `c.subw x16,x8'
+.*: Error: illegal operands `c.subw 3,x8'
+.*: Error: illegal operands `c.subw x8,x7'
+.*: Error: illegal operands `c.subw x8,x16'
+.*: Error: illegal operands `c.subw x8,3'
new file mode 100644
@@ -0,0 +1,14 @@
+target:
+ c.subw
+ c.subw ,
+ c.subw , x8
+ c.subw x8,
+ c.subw , ,
+
+ c.subw x7, x8
+ c.subw x16, x8
+ c.subw 3, x8
+
+ c.subw x8, x7
+ c.subw x8, x16
+ c.subw x8, 3
new file mode 100644
@@ -0,0 +1,14 @@
+#as: -march=rv64ifd_zca
+#source: zc-zca-rv64-subw.s
+#objdump: -d -Mno-aliases
+
+.*:[ ]+file format .*
+
+
+Disassembly of section .text:
+
+0+000 <target>:
+[ ]+0:[ ]+9c05[ ]+c.subw[ ]+s0,s1
+[ ]+2:[ ]+9d0d[ ]+c.subw[ ]+a0,a1
+[ ]+4:[ ]+9f9d[ ]+c.subw[ ]+a5,a5
+[ ]+6:[ ]+40a4843b[ ]+subw[ ]+s0,s1,a0
new file mode 100644
@@ -0,0 +1,5 @@
+target:
+ c.subw x8, x9
+ c.subw x10,x11
+ c.subw x15,x15
+ subw x8,x9,x10
new file mode 100644
@@ -0,0 +1,26 @@
+target:
+ c.sd
+ c.sd ,
+ c.sd , (x9)
+ c.sd x8,
+ c.sd x8, 8
+ c.sd x8, x9
+
+ c.sd x7, (x9)
+ c.sd x16, (x8)
+ c.sd 8, (x8)
+
+ c.sd x10, (x7)
+ c.sd x10, (x16)
+ c.sd x10, (x0)
+ c.sd x10, (x2)
+ c.sd x10, (x31)
+
+ c.sd x11, 1(x8)
+ c.sd x11, 7(x8)
+ c.sd x11, -8(x8)
+ c.sd x11, 8.0(x8)
+ c.sd x11, 9(x8)
+ c.sd x11, 249(x8)
+ c.sd x11, 255(x8)
+ c.sd x11, 256(x8)
new file mode 100644
@@ -0,0 +1,3 @@
+#as: -march=rv64ifd_zca
+#source: zc-zca-sd-fail.s
+#error_output: zc-zca-sd-rv64-fail.l
new file mode 100644
@@ -0,0 +1,23 @@
+.*: Assembler messages:
+.*: Error: illegal operands `c.sd'
+.*: Error: illegal operands `c.sd ,'
+.*: Error: illegal operands `c.sd ,\(x9\)'
+.*: Error: illegal operands `c.sd x8,'
+.*: Error: illegal operands `c.sd x8,8'
+.*: Error: illegal operands `c.sd x8,x9'
+.*: Error: illegal operands `c.sd x7,\(x9\)'
+.*: Error: illegal operands `c.sd x16,\(x8\)'
+.*: Error: illegal operands `c.sd 8,\(x8\)'
+.*: Error: illegal operands `c.sd x10,\(x7\)'
+.*: Error: illegal operands `c.sd x10,\(x16\)'
+.*: Error: illegal operands `c.sd x10,\(x0\)'
+.*: Error: illegal operands `c.sd x10,\(x2\)'
+.*: Error: illegal operands `c.sd x10,\(x31\)'
+.*: Error: illegal operands `c.sd x11,1\(x8\)'
+.*: Error: illegal operands `c.sd x11,7\(x8\)'
+.*: Error: illegal operands `c.sd x11,-8\(x8\)'
+.*: Error: illegal operands `c.sd x11,8.0\(x8\)'
+.*: Error: illegal operands `c.sd x11,9\(x8\)'
+.*: Error: illegal operands `c.sd x11,249\(x8\)'
+.*: Error: illegal operands `c.sd x11,255\(x8\)'
+.*: Error: illegal operands `c.sd x11,256\(x8\)'
new file mode 100644
@@ -0,0 +1,15 @@
+#as: -march=rv64ifd_zca
+#source: zc-zca-sd.s
+#objdump: -d -Mno-aliases
+
+.*:[ ]+file format .*
+
+
+Disassembly of section .text:
+
+0+000 <target>:
+[ ]+0:[ ]+e380[ ]+c.sd[ ]+s0,0\(a5\)
+[ ]+2:[ ]+e504[ ]+c.sd[ ]+s1,8\(a0\)
+[ ]+4:[ ]+e988[ ]+c.sd[ ]+a0,16\(a1\)
+[ ]+6:[ ]+fc7c[ ]+c.sd[ ]+a5,248\(s0\)
+[ ]+8:[ ]+e02a[ ]+c.sdsp[ ]+a0,0\(sp\)
new file mode 100644
@@ -0,0 +1,6 @@
+target:
+ c.sd x8, (x15)
+ c.sd x9, 8(x10)
+ c.sd x10, 16(x11)
+ c.sd x15, 248(x8)
+ sd a0, (sp)
new file mode 100644
@@ -0,0 +1,20 @@
+target:
+ c.sdsp
+ c.sdsp ,
+ c.sdsp , (x2)
+ c.sdsp x1,
+ c.sdsp x1, 8
+ c.sdsp x1, 8(x2
+
+ c.sdsp 8, (x2)
+ c.sdsp x32, (x2)
+
+ c.sdsp x12, 1(x2)
+ c.sdsp x12, -8(x2)
+ c.sdsp x12, 7(x2)
+ c.sdsp x12, 8(x3)
+ c.sdsp x12, 8(x1)
+ c.sdsp x12, 8(x0)
+ c.sdsp x12, 9(x2)
+ c.sdsp x12, 511(x2)
+ c.sdsp x12, 512(x2)
new file mode 100644
@@ -0,0 +1,3 @@
+#as: -march=rv64ifd_zca
+#source: zc-zca-sdsp-fail.s
+#error_output: zc-zca-sdsp-rv64-fail.l
new file mode 100644
@@ -0,0 +1,18 @@
+.*: Assembler messages:
+.*: Error: illegal operands `c.sdsp'
+.*: Error: illegal operands `c.sdsp ,'
+.*: Error: illegal operands `c.sdsp ,\(x2\)'
+.*: Error: illegal operands `c.sdsp x1,'
+.*: Error: illegal operands `c.sdsp x1,8'
+.*: Error: illegal operands `c.sdsp x1,8\(x2'
+.*: Error: illegal operands `c.sdsp 8,\(x2\)'
+.*: Error: illegal operands `c.sdsp x32,\(x2\)'
+.*: Error: illegal operands `c.sdsp x12,1\(x2\)'
+.*: Error: illegal operands `c.sdsp x12,-8\(x2\)'
+.*: Error: illegal operands `c.sdsp x12,7\(x2\)'
+.*: Error: illegal operands `c.sdsp x12,8\(x3\)'
+.*: Error: illegal operands `c.sdsp x12,8\(x1\)'
+.*: Error: illegal operands `c.sdsp x12,8\(x0\)'
+.*: Error: illegal operands `c.sdsp x12,9\(x2\)'
+.*: Error: illegal operands `c.sdsp x12,511\(x2\)'
+.*: Error: illegal operands `c.sdsp x12,512\(x2\)'
new file mode 100644
@@ -0,0 +1,19 @@
+#as: -march=rv64ifd_zca
+#source: zc-zca-sdsp.s
+#objdump: -d -Mno-aliases
+
+.*:[ ]+file format .*
+
+
+Disassembly of section .text:
+
+0+000 <target>:
+[ ]+0:[ ]+e002[ ]+c.sdsp[ ]+zero,0\(sp\)
+[ ]+2:[ ]+e006[ ]+c.sdsp[ ]+ra,0\(sp\)
+[ ]+4:[ ]+e40a[ ]+c.sdsp[ ]+sp,8\(sp\)
+[ ]+6:[ ]+e80e[ ]+c.sdsp[ ]+gp,16\(sp\)
+[ ]+8:[ ]+f012[ ]+c.sdsp[ ]+tp,32\(sp\)
+[ ]+a:[ ]+f426[ ]+c.sdsp[ ]+s1,40\(sp\)
+[ ]+c:[ ]+e0aa[ ]+c.sdsp[ ]+a0,64\(sp\)
+[ ]+e:[ ]+e12e[ ]+c.sdsp[ ]+a1,128\(sp\)
+[ ]+10:[ ]+fffe[ ]+c.sdsp[ ]+t6,504\(sp\)
new file mode 100644
@@ -0,0 +1,10 @@
+target:
+ c.sdsp x0, (x2)
+ c.sdsp x1, (x2)
+ c.sdsp x2, 8(x2)
+ c.sdsp x3, 16(x2)
+ c.sdsp x4, 32(x2)
+ c.sdsp x9, 40(x2)
+ c.sdsp x10, 64(x2)
+ c.sdsp x11, 128(x2)
+ c.sdsp x31, 504(x2)
new file mode 100644
@@ -0,0 +1,3 @@
+#as: -march=rv32ifd_zca
+#source: zc-zca-slli-rv32-fail.s
+#error_output: zc-zca-slli-rv32-fail.l
new file mode 100644
@@ -0,0 +1,12 @@
+.*: Assembler messages:
+.*: Error: illegal operands `c.slli'
+.*: Error: illegal operands `c.slli ,'
+.*: Error: illegal operands `c.slli ,1'
+.*: Error: illegal operands `c.slli x1,'
+.*: Error: illegal operands `c.slli x1,x2,4'
+.*: Error: illegal operands `c.slli 4,1'
+.*: Error: illegal operands `c.slli x0,0'
+.*: Error: illegal operands `c.slli x1,-1'
+.*: Error: illegal operands `c.slli x1,1.0'
+.*: Error: illegal operands `c.slli x1,32'
+.*: Error: illegal operands `c.slli x1,x8'
new file mode 100644
@@ -0,0 +1,13 @@
+target:
+ c.slli
+ c.slli ,
+ c.slli , 1
+ c.slli x1,
+ c.slli x1,x2,4
+
+ c.slli 4, 1
+ c.slli x0, 0
+ c.slli x1, -1
+ c.slli x1, 1.0
+ c.slli x1, 32
+ c.slli x1, x8
new file mode 100644
@@ -0,0 +1,19 @@
+#as: -march=rv32ifd_zca
+#source: zc-zca-slli-rv32.s
+#objdump: -d -Mno-aliases
+
+.*:[ ]+file format .*
+
+
+Disassembly of section .text:
+
+0+000 <target>:
+[ ]+0:[ ]+0086[ ]+c.slli[ ]+ra,0x1
+[ ]+2:[ ]+010e[ ]+c.slli[ ]+sp,0x3
+[ ]+4:[ ]+018a[ ]+c.slli[ ]+gp,0x2
+[ ]+6:[ ]+022a[ ]+c.slli[ ]+tp,0xa
+[ ]+8:[ ]+043e[ ]+c.slli[ ]+s0,0xf
+[ ]+a:[ ]+0546[ ]+c.slli[ ]+a0,0x11
+[ ]+c:[ ]+0fa6[ ]+c.slli[ ]+t6,0x9
+[ ]+e:[ ]+00489613[ ]+slli[ ]+a2,a7,0x4
+[ ]+12:[ ]+0006[ ]+c.slli[ ]+zero,0x1
new file mode 100644
@@ -0,0 +1,10 @@
+target:
+ c.slli x1, 1
+ c.slli x2, 3
+ c.slli x3, 2
+ c.slli x4, 10
+ c.slli x8, 15
+ c.slli x10, 17
+ c.slli x31, 9
+ slli x12,x17, 4
+ c.slli x0, 1
new file mode 100644
@@ -0,0 +1,3 @@
+#as: -march=rv64ifd_zca
+#source: zc-zca-slli-rv64-fail.s
+#error_output: zc-zca-slli-rv64-fail.l
new file mode 100644
@@ -0,0 +1,12 @@
+.*: Assembler messages:
+.*: Error: illegal operands `c.slli'
+.*: Error: illegal operands `c.slli ,'
+.*: Error: illegal operands `c.slli ,1'
+.*: Error: illegal operands `c.slli x1,'
+.*: Error: illegal operands `c.slli x1,x2,4'
+.*: Error: illegal operands `c.slli 4,1'
+.*: Error: illegal operands `c.slli x0,0'
+.*: Error: illegal operands `c.slli x1,-1'
+.*: Error: illegal operands `c.slli x1,1.0'
+.*: Error: illegal operands `c.slli x1,64'
+.*: Error: illegal operands `c.slli x1,x8'
new file mode 100644
@@ -0,0 +1,13 @@
+target:
+ c.slli
+ c.slli ,
+ c.slli , 1
+ c.slli x1,
+ c.slli x1,x2,4
+
+ c.slli 4, 1
+ c.slli x0, 0
+ c.slli x1, -1
+ c.slli x1, 1.0
+ c.slli x1, 64
+ c.slli x1, x8
new file mode 100644
@@ -0,0 +1,19 @@
+#as: -march=rv64ifd_zca
+#source: zc-zca-slli-rv64.s
+#objdump: -d -Mno-aliases
+
+.*:[ ]+file format .*
+
+
+Disassembly of section .text:
+
+0+000 <target>:
+[ ]+0:[ ]+0086[ ]+c.slli[ ]+ra,0x1
+[ ]+2:[ ]+117e[ ]+c.slli[ ]+sp,0x3f
+[ ]+4:[ ]+018a[ ]+c.slli[ ]+gp,0x2
+[ ]+6:[ ]+022a[ ]+c.slli[ ]+tp,0xa
+[ ]+8:[ ]+1402[ ]+c.slli[ ]+s0,0x20
+[ ]+a:[ ]+0546[ ]+c.slli[ ]+a0,0x11
+[ ]+c:[ ]+0fa6[ ]+c.slli[ ]+t6,0x9
+[ ]+e:[ ]+00489613[ ]+slli[ ]+a2,a7,0x4
+[ ]+12:[ ]+0006[ ]+c.slli[ ]+zero,0x1
new file mode 100644
@@ -0,0 +1,10 @@
+target:
+ c.slli x1, 1
+ c.slli x2, 63
+ c.slli x3, 2
+ c.slli x4, 10
+ c.slli x8, 32
+ c.slli x10, 17
+ c.slli x31, 9
+ slli x12,x17, 4
+ c.slli x0, 1
new file mode 100644
@@ -0,0 +1,4 @@
+target:
+ c.slli64
+ c.slli64 x1,
+ c.slli64 3
new file mode 100644
@@ -0,0 +1,3 @@
+#as: -march=rv32ifd_zca
+#source: zc-zca-slli64-fail.s
+#error_output: zc-zca-slli64-rv32-fail.l
new file mode 100644
@@ -0,0 +1,4 @@
+.*: Assembler messages:
+.*: Error: illegal operands `c.slli64'
+.*: Error: illegal operands `c.slli64 x1,'
+.*: Error: illegal operands `c.slli64 3'
new file mode 100644
@@ -0,0 +1,18 @@
+#as: -march=rv32ifd_zca
+#source: zc-zca-slli64.s
+#objdump: -d -Mno-aliases
+
+.*:[ ]+file format .*
+
+
+Disassembly of section .text:
+
+0+000 <target>:
+[ ]+0:[ ]+0082[ ]+c.slli64[ ]+ra
+[ ]+2:[ ]+0102[ ]+c.slli64[ ]+sp
+[ ]+4:[ ]+0182[ ]+c.slli64[ ]+gp
+[ ]+6:[ ]+0202[ ]+c.slli64[ ]+tp
+[ ]+8:[ ]+0402[ ]+c.slli64[ ]+s0
+[ ]+a:[ ]+0782[ ]+c.slli64[ ]+a5
+[ ]+c:[ ]+0f82[ ]+c.slli64[ ]+t6
+[ ]+e:[ ]+0002[ ]+c.slli64[ ]+zero
new file mode 100644
@@ -0,0 +1,3 @@
+#as: -march=rv64ifd_zca
+#source: zc-zca-slli64-fail.s
+#error_output: zc-zca-slli64-rv64-fail.l
new file mode 100644
@@ -0,0 +1,4 @@
+.*: Assembler messages:
+.*: Error: illegal operands `c.slli64'
+.*: Error: illegal operands `c.slli64 x1,'
+.*: Error: illegal operands `c.slli64 3'
new file mode 100644
@@ -0,0 +1,18 @@
+#as: -march=rv64ifd_zca
+#source: zc-zca-slli64.s
+#objdump: -d -Mno-aliases
+
+.*:[ ]+file format .*
+
+
+Disassembly of section .text:
+
+0+000 <target>:
+[ ]+0:[ ]+0082[ ]+c.slli64[ ]+ra
+[ ]+2:[ ]+0102[ ]+c.slli64[ ]+sp
+[ ]+4:[ ]+0182[ ]+c.slli64[ ]+gp
+[ ]+6:[ ]+0202[ ]+c.slli64[ ]+tp
+[ ]+8:[ ]+0402[ ]+c.slli64[ ]+s0
+[ ]+a:[ ]+0782[ ]+c.slli64[ ]+a5
+[ ]+c:[ ]+0f82[ ]+c.slli64[ ]+t6
+[ ]+e:[ ]+0002[ ]+c.slli64[ ]+zero
new file mode 100644
@@ -0,0 +1,9 @@
+target:
+ c.slli64 x1
+ c.slli64 x2
+ c.slli64 x3
+ c.slli64 x4
+ c.slli64 x8
+ c.slli64 x15
+ c.slli64 x31
+ c.slli64 x0
new file mode 100644
@@ -0,0 +1,3 @@
+#as: -march=rv32ifd_zca
+#source: zc-zca-srai-rv32-fail.s
+#error_output: zc-zca-srai-rv32-fail.l
new file mode 100644
@@ -0,0 +1,14 @@
+.*: Assembler messages:
+.*: Error: illegal operands `c.srai'
+.*: Error: illegal operands `c.srai ,'
+.*: Error: illegal operands `c.srai ,1'
+.*: Error: illegal operands `c.srai x8,'
+.*: Error: illegal operands `c.srai x8,x11,15'
+.*: Error: illegal operands `c.srai x7,1'
+.*: Error: illegal operands `c.srai x16,1'
+.*: Error: illegal operands `c.srai 1,1'
+.*: Error: illegal operands `c.srai x8,0'
+.*: Error: illegal operands `c.srai x8,32'
+.*: Error: illegal operands `c.srai x8,-1'
+.*: Error: illegal operands `c.srai x8,1.0'
+.*: Error: illegal operands `c.srai x8,x10'
new file mode 100644
@@ -0,0 +1,15 @@
+target:
+ c.srai
+ c.srai ,
+ c.srai , 1
+ c.srai x8,
+ c.srai x8, x11, 15
+
+ c.srai x7, 1
+ c.srai x16, 1
+ c.srai 1, 1
+ c.srai x8, 0
+ c.srai x8, 32
+ c.srai x8, -1
+ c.srai x8, 1.0
+ c.srai x8, x10
new file mode 100644
@@ -0,0 +1,14 @@
+#as: -march=rv32ifd_zca
+#source: zc-zca-srai-rv32.s
+#objdump: -d -Mno-aliases
+
+.*:[ ]+file format .*
+
+
+Disassembly of section .text:
+
+0+000 <target>:
+[ ]+0:[ ]+8405[ ]+c.srai[ ]+s0,0x1
+[ ]+2:[ ]+853d[ ]+c.srai[ ]+a0,0xf
+[ ]+4:[ ]+87fd[ ]+c.srai[ ]+a5,0x1f
+[ ]+6:[ ]+40f5d413[ ]+srai[ ]+s0,a1,0xf
new file mode 100644
@@ -0,0 +1,5 @@
+target:
+ c.srai x8, 1
+ c.srai x10, 15
+ c.srai x15, 31
+ srai x8, x11, 15
new file mode 100644
@@ -0,0 +1,3 @@
+#as: -march=rv64ifd_zca
+#source: zc-zca-srai-rv64-fail.s
+#error_output: zc-zca-srai-rv64-fail.l
new file mode 100644
@@ -0,0 +1,14 @@
+.*: Assembler messages:
+.*: Error: illegal operands `c.srai'
+.*: Error: illegal operands `c.srai ,'
+.*: Error: illegal operands `c.srai ,1'
+.*: Error: illegal operands `c.srai x8,'
+.*: Error: illegal operands `c.srai x8,x11,15'
+.*: Error: illegal operands `c.srai x7,1'
+.*: Error: illegal operands `c.srai x16,1'
+.*: Error: illegal operands `c.srai 1,1'
+.*: Error: illegal operands `c.srai x8,0'
+.*: Error: illegal operands `c.srai x8,64'
+.*: Error: illegal operands `c.srai x8,-1'
+.*: Error: illegal operands `c.srai x8,1.0'
+.*: Error: illegal operands `c.srai x8,x10'
new file mode 100644
@@ -0,0 +1,15 @@
+target:
+ c.srai
+ c.srai ,
+ c.srai , 1
+ c.srai x8,
+ c.srai x8, x11, 15
+
+ c.srai x7, 1
+ c.srai x16, 1
+ c.srai 1, 1
+ c.srai x8, 0
+ c.srai x8, 64
+ c.srai x8, -1
+ c.srai x8, 1.0
+ c.srai x8, x10
new file mode 100644
@@ -0,0 +1,14 @@
+#as: -march=rv64ifd_zca
+#source: zc-zca-srai-rv64.s
+#objdump: -d -Mno-aliases
+
+.*:[ ]+file format .*
+
+
+Disassembly of section .text:
+
+0+000 <target>:
+[ ]+0:[ ]+8405[ ]+c.srai[ ]+s0,0x1
+[ ]+2:[ ]+9505[ ]+c.srai[ ]+a0,0x21
+[ ]+4:[ ]+97fd[ ]+c.srai[ ]+a5,0x3f
+[ ]+6:[ ]+40f5d413[ ]+srai[ ]+s0,a1,0xf
new file mode 100644
@@ -0,0 +1,5 @@
+target:
+ c.srai x8, 1
+ c.srai x10, 33
+ c.srai x15, 63
+ srai x8, x11, 15
new file mode 100644
@@ -0,0 +1,6 @@
+target:
+ C.srai64
+ C.srai64 x8,
+ c.srai64 x7
+ c.srai64 x16
+ c.srai64 3
new file mode 100644
@@ -0,0 +1,3 @@
+#as: -march=rv32ifd_zca
+#source: zc-zca-srai64-fail.s
+#error_output: zc-zca-srai64-rv32-fail.l
new file mode 100644
@@ -0,0 +1,6 @@
+.*: Assembler messages:
+.*: Error: illegal operands `c.srai64'
+.*: Error: illegal operands `c.srai64 x8,'
+.*: Error: illegal operands `c.srai64 x7'
+.*: Error: illegal operands `c.srai64 x16'
+.*: Error: illegal operands `c.srai64 3'
new file mode 100644
@@ -0,0 +1,13 @@
+#as: -march=rv32ifd_zca
+#source: zc-zca-srai64.s
+#objdump: -d -Mno-aliases
+
+.*:[ ]+file format .*
+
+
+Disassembly of section .text:
+
+0+000 <target>:
+[ ]+0:[ ]+8401[ ]+c.srai64[ ]+s0
+[ ]+2:[ ]+8501[ ]+c.srai64[ ]+a0
+[ ]+4:[ ]+8781[ ]+c.srai64[ ]+a5
new file mode 100644
@@ -0,0 +1,3 @@
+#as: -march=rv64ifd_zca
+#source: zc-zca-srai64-fail.s
+#error_output: zc-zca-srai64-rv64-fail.l
new file mode 100644
@@ -0,0 +1,6 @@
+.*: Assembler messages:
+.*: Error: illegal operands `c.srai64'
+.*: Error: illegal operands `c.srai64 x8,'
+.*: Error: illegal operands `c.srai64 x7'
+.*: Error: illegal operands `c.srai64 x16'
+.*: Error: illegal operands `c.srai64 3'
new file mode 100644
@@ -0,0 +1,13 @@
+#as: -march=rv64ifd_zca
+#source: zc-zca-srai64.s
+#objdump: -d -Mno-aliases
+
+.*:[ ]+file format .*
+
+
+Disassembly of section .text:
+
+0+000 <target>:
+[ ]+0:[ ]+8401[ ]+c.srai64[ ]+s0
+[ ]+2:[ ]+8501[ ]+c.srai64[ ]+a0
+[ ]+4:[ ]+8781[ ]+c.srai64[ ]+a5
new file mode 100644
@@ -0,0 +1,4 @@
+target:
+ c.srai64 x8
+ c.srai64 x10
+ c.srai64 x15
new file mode 100644
@@ -0,0 +1,3 @@
+#as: -march=rv32ifd_zca
+#source: zc-zca-srli-rv32-fail.s
+#error_output: zc-zca-srli-rv32-fail.l
new file mode 100644
@@ -0,0 +1,14 @@
+.*: Assembler messages:
+.*: Error: illegal operands `c.srli'
+.*: Error: illegal operands `c.srli ,'
+.*: Error: illegal operands `c.srli ,1'
+.*: Error: illegal operands `c.srli x8,'
+.*: Error: illegal operands `c.srli x8,x11,15'
+.*: Error: illegal operands `c.srli x7,1'
+.*: Error: illegal operands `c.srli x16,1'
+.*: Error: illegal operands `c.srli 1,1'
+.*: Error: illegal operands `c.srli x8,0'
+.*: Error: illegal operands `c.srli x8,32'
+.*: Error: illegal operands `c.srli x8,-1'
+.*: Error: illegal operands `c.srli x8,1.0'
+.*: Error: illegal operands `c.srli x8,x10'
new file mode 100644
@@ -0,0 +1,15 @@
+target:
+ c.srli
+ c.srli ,
+ c.srli , 1
+ c.srli x8,
+ c.srli x8, x11, 15
+
+ c.srli x7, 1
+ c.srli x16, 1
+ c.srli 1, 1
+ c.srli x8, 0
+ c.srli x8, 32
+ c.srli x8, -1
+ c.srli x8, 1.0
+ c.srli x8, x10
new file mode 100644
@@ -0,0 +1,14 @@
+#as: -march=rv32ifd_zca
+#source: zc-zca-srli-rv32.s
+#objdump: -d -Mno-aliases
+
+.*:[ ]+file format .*
+
+
+Disassembly of section .text:
+
+0+000 <target>:
+[ ]+0:[ ]+8005[ ]+c.srli[ ]+s0,0x1
+[ ]+2:[ ]+813d[ ]+c.srli[ ]+a0,0xf
+[ ]+4:[ ]+83fd[ ]+c.srli[ ]+a5,0x1f
+[ ]+6:[ ]+00f5d413[ ]+srli[ ]+s0,a1,0xf
new file mode 100644
@@ -0,0 +1,5 @@
+target:
+ c.srli x8, 1
+ c.srli x10, 15
+ c.srli x15, 31
+ srli x8, x11, 15
new file mode 100644
@@ -0,0 +1,3 @@
+#as: -march=rv64ifd_zca
+#source: zc-zca-srli-rv64-fail.s
+#error_output: zc-zca-srli-rv64-fail.l
new file mode 100644
@@ -0,0 +1,14 @@
+.*: Assembler messages:
+.*: Error: illegal operands `c.srli'
+.*: Error: illegal operands `c.srli ,'
+.*: Error: illegal operands `c.srli ,1'
+.*: Error: illegal operands `c.srli x8,'
+.*: Error: illegal operands `c.srli x8,x11,15'
+.*: Error: illegal operands `c.srli x7,1'
+.*: Error: illegal operands `c.srli x16,1'
+.*: Error: illegal operands `c.srli 1,1'
+.*: Error: illegal operands `c.srli x8,0'
+.*: Error: illegal operands `c.srli x8,64'
+.*: Error: illegal operands `c.srli x8,-1'
+.*: Error: illegal operands `c.srli x8,1.0'
+.*: Error: illegal operands `c.srli x8,x10'
new file mode 100644
@@ -0,0 +1,15 @@
+target:
+ c.srli
+ c.srli ,
+ c.srli , 1
+ c.srli x8,
+ c.srli x8, x11, 15
+
+ c.srli x7, 1
+ c.srli x16, 1
+ c.srli 1, 1
+ c.srli x8, 0
+ c.srli x8, 64
+ c.srli x8, -1
+ c.srli x8, 1.0
+ c.srli x8, x10
new file mode 100644
@@ -0,0 +1,14 @@
+#as: -march=rv64ifd_zca
+#source: zc-zca-srli-rv64.s
+#objdump: -d -Mno-aliases
+
+.*:[ ]+file format .*
+
+
+Disassembly of section .text:
+
+0+000 <target>:
+[ ]+0:[ ]+8005[ ]+c.srli[ ]+s0,0x1
+[ ]+2:[ ]+9105[ ]+c.srli[ ]+a0,0x21
+[ ]+4:[ ]+93fd[ ]+c.srli[ ]+a5,0x3f
+[ ]+6:[ ]+00f5d413[ ]+srli[ ]+s0,a1,0xf
new file mode 100644
@@ -0,0 +1,5 @@
+target:
+ c.srli x8, 1
+ c.srli x10, 33
+ c.srli x15, 63
+ srli x8, x11, 15
new file mode 100644
@@ -0,0 +1,6 @@
+target:
+ C.srli64
+ C.srli64 x8,
+ c.srli64 x7
+ c.srli64 x16
+ c.srli64 3
new file mode 100644
@@ -0,0 +1,3 @@
+#as: -march=rv32ifd_zca
+#source: zc-zca-srli64-fail.s
+#error_output: zc-zca-srli64-rv32-fail.l
new file mode 100644
@@ -0,0 +1,6 @@
+.*: Assembler messages:
+.*: Error: illegal operands `c.srli64'
+.*: Error: illegal operands `c.srli64 x8,'
+.*: Error: illegal operands `c.srli64 x7'
+.*: Error: illegal operands `c.srli64 x16'
+.*: Error: illegal operands `c.srli64 3'
new file mode 100644
@@ -0,0 +1,13 @@
+#as: -march=rv32ifd_zca
+#source: zc-zca-srli64.s
+#objdump: -d -Mno-aliases
+
+.*:[ ]+file format .*
+
+
+Disassembly of section .text:
+
+0+000 <target>:
+[ ]+0:[ ]+8001[ ]+c.srli64[ ]+s0
+[ ]+2:[ ]+8101[ ]+c.srli64[ ]+a0
+[ ]+4:[ ]+8381[ ]+c.srli64[ ]+a5
new file mode 100644
@@ -0,0 +1,3 @@
+#as: -march=rv64ifd_zca
+#source: zc-zca-srli64-fail.s
+#error_output: zc-zca-srli64-rv64-fail.l
new file mode 100644
@@ -0,0 +1,6 @@
+.*: Assembler messages:
+.*: Error: illegal operands `c.srli64'
+.*: Error: illegal operands `c.srli64 x8,'
+.*: Error: illegal operands `c.srli64 x7'
+.*: Error: illegal operands `c.srli64 x16'
+.*: Error: illegal operands `c.srli64 3'
new file mode 100644
@@ -0,0 +1,13 @@
+#as: -march=rv64ifd_zca
+#source: zc-zca-srli64.s
+#objdump: -d -Mno-aliases
+
+.*:[ ]+file format .*
+
+
+Disassembly of section .text:
+
+0+000 <target>:
+[ ]+0:[ ]+8001[ ]+c.srli64[ ]+s0
+[ ]+2:[ ]+8101[ ]+c.srli64[ ]+a0
+[ ]+4:[ ]+8381[ ]+c.srli64[ ]+a5
new file mode 100644
@@ -0,0 +1,4 @@
+target:
+ c.srli64 x8
+ c.srli64 x10
+ c.srli64 x15
new file mode 100644
@@ -0,0 +1,14 @@
+target:
+ c.sub
+ c.sub ,
+ c.sub , x8
+ c.sub x8,
+ c.sub , ,
+
+ c.sub x7, x8
+ c.sub x16, x8
+ c.sub 3, x8
+
+ c.sub x8, x7
+ c.sub x8, x16
+ c.sub x8, 3
new file mode 100644
@@ -0,0 +1,3 @@
+#as: -march=rv32ifd_zca
+#source: zc-zca-sub-fail.s
+#error_output: zc-zca-sub-rv32-fail.l
new file mode 100644
@@ -0,0 +1,12 @@
+.*: Assembler messages:
+.*: Error: illegal operands `c.sub'
+.*: Error: illegal operands `c.sub ,'
+.*: Error: illegal operands `c.sub ,x8'
+.*: Error: illegal operands `c.sub x8,'
+.*: Error: illegal operands `c.sub ,,'
+.*: Error: illegal operands `c.sub x7,x8'
+.*: Error: illegal operands `c.sub x16,x8'
+.*: Error: illegal operands `c.sub 3,x8'
+.*: Error: illegal operands `c.sub x8,x7'
+.*: Error: illegal operands `c.sub x8,x16'
+.*: Error: illegal operands `c.sub x8,3'
new file mode 100644
@@ -0,0 +1,14 @@
+#as: -march=rv32ifd_zca
+#source: zc-zca-sub.s
+#objdump: -d -Mno-aliases
+
+.*:[ ]+file format .*
+
+
+Disassembly of section .text:
+
+0+000 <target>:
+[ ]+0:[ ]+8c05[ ]+c.sub[ ]+s0,s1
+[ ]+2:[ ]+8d0d[ ]+c.sub[ ]+a0,a1
+[ ]+4:[ ]+8f9d[ ]+c.sub[ ]+a5,a5
+[ ]+6:[ ]+40a48433[ ]+sub[ ]+s0,s1,a0
new file mode 100644
@@ -0,0 +1,3 @@
+#as: -march=rv64ifd_zca
+#source: zc-zca-sub-fail.s
+#error_output: zc-zca-sub-rv64-fail.l
new file mode 100644
@@ -0,0 +1,12 @@
+.*: Assembler messages:
+.*: Error: illegal operands `c.sub'
+.*: Error: illegal operands `c.sub ,'
+.*: Error: illegal operands `c.sub ,x8'
+.*: Error: illegal operands `c.sub x8,'
+.*: Error: illegal operands `c.sub ,,'
+.*: Error: illegal operands `c.sub x7,x8'
+.*: Error: illegal operands `c.sub x16,x8'
+.*: Error: illegal operands `c.sub 3,x8'
+.*: Error: illegal operands `c.sub x8,x7'
+.*: Error: illegal operands `c.sub x8,x16'
+.*: Error: illegal operands `c.sub x8,3'
new file mode 100644
@@ -0,0 +1,14 @@
+#as: -march=rv64ifd_zca
+#source: zc-zca-sub.s
+#objdump: -d -Mno-aliases
+
+.*:[ ]+file format .*
+
+
+Disassembly of section .text:
+
+0+000 <target>:
+[ ]+0:[ ]+8c05[ ]+c.sub[ ]+s0,s1
+[ ]+2:[ ]+8d0d[ ]+c.sub[ ]+a0,a1
+[ ]+4:[ ]+8f9d[ ]+c.sub[ ]+a5,a5
+[ ]+6:[ ]+40a48433[ ]+sub[ ]+s0,s1,a0
new file mode 100644
@@ -0,0 +1,5 @@
+target:
+ c.sub x8, x9
+ c.sub x10,x11
+ c.sub x15,x15
+ sub x8,x9,x10
new file mode 100644
@@ -0,0 +1,27 @@
+target:
+ c.sw
+ c.sw , (x9)
+ c.sw x8,
+ c.sw x8, 124
+ c.sw x8, x9
+
+ c.sw x0, (x9)
+ c.sw x1, (x9)
+ c.sw x7, (x9)
+ c.sw x16, (x8)
+ c.sw 4, (x8)
+
+ c.sw x10, (x7)
+ c.sw x10, (x16)
+ c.sw x10, (x0)
+ c.sw x10, (x2)
+ c.sw x10, (x31)
+
+ c.sw x11, 1(x8)
+ c.sw x11, 2(x8)
+ c.sw x11, 3(x8)
+ c.sw x11, -4(x8)
+ c.sw x11, 5(x8)
+ c.sw x11, 123(x8)
+ c.sw x11, 125(x8)
+ c.sw x11, 128(x8)
new file mode 100644
@@ -0,0 +1,3 @@
+#as: -march=rv32ifd_zca
+#source: zc-zca-sw-fail.s
+#error_output: zc-zca-sw-rv32-fail.l
\ No newline at end of file
new file mode 100644
@@ -0,0 +1,24 @@
+.*: Assembler messages:
+.*: Error: illegal operands `c.sw'
+.*: Error: illegal operands `c.sw ,\(x9\)'
+.*: Error: illegal operands `c.sw x8,'
+.*: Error: illegal operands `c.sw x8,124'
+.*: Error: illegal operands `c.sw x8,x9'
+.*: Error: illegal operands `c.sw x0,\(x9\)'
+.*: Error: illegal operands `c.sw x1,\(x9\)'
+.*: Error: illegal operands `c.sw x7,\(x9\)'
+.*: Error: illegal operands `c.sw x16,\(x8\)'
+.*: Error: illegal operands `c.sw 4,\(x8\)'
+.*: Error: illegal operands `c.sw x10,\(x7\)'
+.*: Error: illegal operands `c.sw x10,\(x16\)'
+.*: Error: illegal operands `c.sw x10,\(x0\)'
+.*: Error: illegal operands `c.sw x10,\(x2\)'
+.*: Error: illegal operands `c.sw x10,\(x31\)'
+.*: Error: illegal operands `c.sw x11,1\(x8\)'
+.*: Error: illegal operands `c.sw x11,2\(x8\)'
+.*: Error: illegal operands `c.sw x11,3\(x8\)'
+.*: Error: illegal operands `c.sw x11,-4\(x8\)'
+.*: Error: illegal operands `c.sw x11,5\(x8\)'
+.*: Error: illegal operands `c.sw x11,123\(x8\)'
+.*: Error: illegal operands `c.sw x11,125\(x8\)'
+.*: Error: illegal operands `c.sw x11,128\(x8\)'
\ No newline at end of file
new file mode 100644
@@ -0,0 +1,19 @@
+#as: -march=rv32ifd_zca
+#source: zc-zca-sw.s
+#objdump: -d -Mno-aliases
+
+.*:[ ]+file format .*
+
+
+Disassembly of section .text:
+
+0+000 <target>:
+[ ]+0:[ ]+c080[ ]+c.sw[ ]+s0,0\(s1\)
+[ ]+2:[ ]+d104[ ]+c.sw[ ]+s1,32\(a0\)
+[ ]+4:[ ]+dde8[ ]+c.sw[ ]+a0,124\(a1\)
+[ ]+6:[ ]+c22c[ ]+c.sw[ ]+a1,64\(a2\)
+[ ]+8:[ ]+c2f0[ ]+c.sw[ ]+a2,68\(a3\)
+[ ]+a:[ ]+c354[ ]+c.sw[ ]+a3,4\(a4\)
+[ ]+c:[ ]+c798[ ]+c.sw[ ]+a4,8\(a5\)
+[ ]+e:[ ]+c81c[ ]+c.sw[ ]+a5,16\(s0\)
+[ ]+10:[ ]+c02a[ ]+c.swsp[ ]+a0,0\(sp\)
new file mode 100644
@@ -0,0 +1,3 @@
+#as: -march=rv64ifd_zca
+#source: zc-zca-sw-fail.s
+#error_output: zc-zca-sw-rv64-fail.l
\ No newline at end of file
new file mode 100644
@@ -0,0 +1,24 @@
+.*: Assembler messages:
+.*: Error: illegal operands `c.sw'
+.*: Error: illegal operands `c.sw ,\(x9\)'
+.*: Error: illegal operands `c.sw x8,'
+.*: Error: illegal operands `c.sw x8,124'
+.*: Error: illegal operands `c.sw x8,x9'
+.*: Error: illegal operands `c.sw x0,\(x9\)'
+.*: Error: illegal operands `c.sw x1,\(x9\)'
+.*: Error: illegal operands `c.sw x7,\(x9\)'
+.*: Error: illegal operands `c.sw x16,\(x8\)'
+.*: Error: illegal operands `c.sw 4,\(x8\)'
+.*: Error: illegal operands `c.sw x10,\(x7\)'
+.*: Error: illegal operands `c.sw x10,\(x16\)'
+.*: Error: illegal operands `c.sw x10,\(x0\)'
+.*: Error: illegal operands `c.sw x10,\(x2\)'
+.*: Error: illegal operands `c.sw x10,\(x31\)'
+.*: Error: illegal operands `c.sw x11,1\(x8\)'
+.*: Error: illegal operands `c.sw x11,2\(x8\)'
+.*: Error: illegal operands `c.sw x11,3\(x8\)'
+.*: Error: illegal operands `c.sw x11,-4\(x8\)'
+.*: Error: illegal operands `c.sw x11,5\(x8\)'
+.*: Error: illegal operands `c.sw x11,123\(x8\)'
+.*: Error: illegal operands `c.sw x11,125\(x8\)'
+.*: Error: illegal operands `c.sw x11,128\(x8\)'
\ No newline at end of file
new file mode 100644
@@ -0,0 +1,19 @@
+#as: -march=rv64ifd_zca
+#source: zc-zca-sw.s
+#objdump: -d -Mno-aliases
+
+.*:[ ]+file format .*
+
+
+Disassembly of section .text:
+
+0+000 <target>:
+[ ]+0:[ ]+c080[ ]+c.sw[ ]+s0,0\(s1\)
+[ ]+2:[ ]+d104[ ]+c.sw[ ]+s1,32\(a0\)
+[ ]+4:[ ]+dde8[ ]+c.sw[ ]+a0,124\(a1\)
+[ ]+6:[ ]+c22c[ ]+c.sw[ ]+a1,64\(a2\)
+[ ]+8:[ ]+c2f0[ ]+c.sw[ ]+a2,68\(a3\)
+[ ]+a:[ ]+c354[ ]+c.sw[ ]+a3,4\(a4\)
+[ ]+c:[ ]+c798[ ]+c.sw[ ]+a4,8\(a5\)
+[ ]+e:[ ]+c81c[ ]+c.sw[ ]+a5,16\(s0\)
+[ ]+10:[ ]+c02a[ ]+c.swsp[ ]+a0,0\(sp\)
new file mode 100644
@@ -0,0 +1,10 @@
+target:
+ c.sw x8, (x9)
+ c.sw x9, 32(x10)
+ c.sw x10, 124(x11)
+ c.sw x11, 64(x12)
+ c.sw x12, 68(x13)
+ c.sw x13, 4(x14)
+ c.sw x14, 8(x15)
+ c.sw x15, 16(x8)
+ sw a0, (sp)
new file mode 100644
@@ -0,0 +1,21 @@
+target:
+ c.swsp
+ c.swsp , (x2)
+ c.swsp x1,
+ c.swsp x1, 4
+
+ c.swsp 4, (x2)
+ c.swsp x32, (x2)
+
+ c.swsp x12, 1(x2)
+ c.swsp x12, -1(x2)
+ c.swsp x12, 2(x2)
+ c.swsp x12, 3(x2)
+ c.swsp x12, 4(x3)
+ c.swsp x12, 8(x1)
+ c.swsp x12, 12(x0)
+ c.swsp x12, 5(x2)
+ c.swsp x12, 253(x2)
+ c.swsp x12, 254(x2)
+ c.swsp x12, 255(x2)
+ c.swsp x12, 256(x2)
new file mode 100644
@@ -0,0 +1,3 @@
+#as: -march=rv32ifd_zca
+#source: zc-zca-swsp-fail.s
+#error_output: zc-zca-swsp-rv32-fail.l
\ No newline at end of file
new file mode 100644
@@ -0,0 +1,19 @@
+.*: Assembler messages:
+.*: Error: illegal operands `c.swsp'
+.*: Error: illegal operands `c.swsp ,\(x2\)'
+.*: Error: illegal operands `c.swsp x1,'
+.*: Error: illegal operands `c.swsp x1,4'
+.*: Error: illegal operands `c.swsp 4,\(x2\)'
+.*: Error: illegal operands `c.swsp x32,\(x2\)'
+.*: Error: illegal operands `c.swsp x12,1\(x2\)'
+.*: Error: illegal operands `c.swsp x12,-1\(x2\)'
+.*: Error: illegal operands `c.swsp x12,2\(x2\)'
+.*: Error: illegal operands `c.swsp x12,3\(x2\)'
+.*: Error: illegal operands `c.swsp x12,4\(x3\)'
+.*: Error: illegal operands `c.swsp x12,8\(x1\)'
+.*: Error: illegal operands `c.swsp x12,12\(x0\)'
+.*: Error: illegal operands `c.swsp x12,5\(x2\)'
+.*: Error: illegal operands `c.swsp x12,253\(x2\)'
+.*: Error: illegal operands `c.swsp x12,254\(x2\)'
+.*: Error: illegal operands `c.swsp x12,255\(x2\)'
+.*: Error: illegal operands `c.swsp x12,256\(x2\)'
new file mode 100644
@@ -0,0 +1,19 @@
+#as: -march=rv32ifd_zca
+#source: zc-zca-swsp.s
+#objdump: -d -Mno-aliases
+
+.*:[ ]+file format .*
+
+
+Disassembly of section .text:
+
+0+000 <target>:
+[ ]+0:[ ]+c002[ ]+c.swsp[ ]+zero,0\(sp\)
+[ ]+2:[ ]+c006[ ]+c.swsp[ ]+ra,0\(sp\)
+[ ]+4:[ ]+c20a[ ]+c.swsp[ ]+sp,4\(sp\)
+[ ]+6:[ ]+c40e[ ]+c.swsp[ ]+gp,8\(sp\)
+[ ]+8:[ ]+d012[ ]+c.swsp[ ]+tp,32\(sp\)
+[ ]+a:[ ]+d426[ ]+c.swsp[ ]+s1,40\(sp\)
+[ ]+c:[ ]+deaa[ ]+c.swsp[ ]+a0,124\(sp\)
+[ ]+e:[ ]+c12e[ ]+c.swsp[ ]+a1,128\(sp\)
+[ ]+10:[ ]+dffe[ ]+c.swsp[ ]+t6,252\(sp\)
new file mode 100644
@@ -0,0 +1,3 @@
+#as: -march=rv64ifd_zca
+#source: zc-zca-swsp-fail.s
+#error_output: zc-zca-swsp-rv64-fail.l
\ No newline at end of file
new file mode 100644
@@ -0,0 +1,19 @@
+.*: Assembler messages:
+.*: Error: illegal operands `c.swsp'
+.*: Error: illegal operands `c.swsp ,\(x2\)'
+.*: Error: illegal operands `c.swsp x1,'
+.*: Error: illegal operands `c.swsp x1,4'
+.*: Error: illegal operands `c.swsp 4,\(x2\)'
+.*: Error: illegal operands `c.swsp x32,\(x2\)'
+.*: Error: illegal operands `c.swsp x12,1\(x2\)'
+.*: Error: illegal operands `c.swsp x12,-1\(x2\)'
+.*: Error: illegal operands `c.swsp x12,2\(x2\)'
+.*: Error: illegal operands `c.swsp x12,3\(x2\)'
+.*: Error: illegal operands `c.swsp x12,4\(x3\)'
+.*: Error: illegal operands `c.swsp x12,8\(x1\)'
+.*: Error: illegal operands `c.swsp x12,12\(x0\)'
+.*: Error: illegal operands `c.swsp x12,5\(x2\)'
+.*: Error: illegal operands `c.swsp x12,253\(x2\)'
+.*: Error: illegal operands `c.swsp x12,254\(x2\)'
+.*: Error: illegal operands `c.swsp x12,255\(x2\)'
+.*: Error: illegal operands `c.swsp x12,256\(x2\)'
new file mode 100644
@@ -0,0 +1,19 @@
+#as: -march=rv64ifd_zca
+#source: zc-zca-swsp.s
+#objdump: -d -Mno-aliases
+
+.*:[ ]+file format .*
+
+
+Disassembly of section .text:
+
+0+000 <target>:
+[ ]+0:[ ]+c002[ ]+c.swsp[ ]+zero,0\(sp\)
+[ ]+2:[ ]+c006[ ]+c.swsp[ ]+ra,0\(sp\)
+[ ]+4:[ ]+c20a[ ]+c.swsp[ ]+sp,4\(sp\)
+[ ]+6:[ ]+c40e[ ]+c.swsp[ ]+gp,8\(sp\)
+[ ]+8:[ ]+d012[ ]+c.swsp[ ]+tp,32\(sp\)
+[ ]+a:[ ]+d426[ ]+c.swsp[ ]+s1,40\(sp\)
+[ ]+c:[ ]+deaa[ ]+c.swsp[ ]+a0,124\(sp\)
+[ ]+e:[ ]+c12e[ ]+c.swsp[ ]+a1,128\(sp\)
+[ ]+10:[ ]+dffe[ ]+c.swsp[ ]+t6,252\(sp\)
new file mode 100644
@@ -0,0 +1,10 @@
+target:
+ c.swsp x0, (x2)
+ c.swsp x1, (x2)
+ c.swsp x2, 4(x2)
+ c.swsp x3, 8(x2)
+ c.swsp x4, 32(x2)
+ c.swsp x9, 40(x2)
+ c.swsp x10, 124(x2)
+ c.swsp x11, 128(x2)
+ c.swsp x31, 252(x2)
new file mode 100644
@@ -0,0 +1,3 @@
+target:
+ c.unimp 1
+ c.unimp a0
new file mode 100644
@@ -0,0 +1,3 @@
+#as: -march=rv32ifd_zca
+#source: zc-zca-unimp-fail.s
+#error_output: zc-zca-unimp-rv32-fail.l
\ No newline at end of file
new file mode 100644
@@ -0,0 +1,3 @@
+.*: Assembler messages:
+.*: Error: illegal operands `c.unimp 1'
+.*: Error: illegal operands `c.unimp a0'
\ No newline at end of file
new file mode 100644
@@ -0,0 +1,3 @@
+#as: -march=rv64ifd_zca
+#source: zc-zca-unimp-fail.s
+#error_output: zc-zca-unimp-rv64-fail.l
\ No newline at end of file
new file mode 100644
@@ -0,0 +1,3 @@
+.*: Assembler messages:
+.*: Error: illegal operands `c.unimp 1'
+.*: Error: illegal operands `c.unimp a0'
\ No newline at end of file
new file mode 100644
@@ -0,0 +1,14 @@
+target:
+ c.xor
+ c.xor ,
+ c.xor , x8
+ c.xor x8,
+ c.xor , ,
+
+ c.xor x7, x8
+ c.xor x16, x8
+ c.xor 3, x8
+
+ c.xor x8, x7
+ c.xor x8, x16
+ c.xor x8, 3
new file mode 100644
@@ -0,0 +1,3 @@
+#as: -march=rv32ifd_zca
+#source: zc-zca-xor-fail.s
+#error_output: zc-zca-xor-rv32-fail.l
new file mode 100644
@@ -0,0 +1,12 @@
+.*: Assembler messages:
+.*: Error: illegal operands `c.xor'
+.*: Error: illegal operands `c.xor ,'
+.*: Error: illegal operands `c.xor ,x8'
+.*: Error: illegal operands `c.xor x8,'
+.*: Error: illegal operands `c.xor ,,'
+.*: Error: illegal operands `c.xor x7,x8'
+.*: Error: illegal operands `c.xor x16,x8'
+.*: Error: illegal operands `c.xor 3,x8'
+.*: Error: illegal operands `c.xor x8,x7'
+.*: Error: illegal operands `c.xor x8,x16'
+.*: Error: illegal operands `c.xor x8,3'
new file mode 100644
@@ -0,0 +1,14 @@
+#as: -march=rv32ifd_zca
+#source: zc-zca-xor.s
+#objdump: -d -Mno-aliases
+
+.*:[ ]+file format .*
+
+
+Disassembly of section .text:
+
+0+000 <target>:
+[ ]+0:[ ]+8c25[ ]+c.xor[ ]+s0,s1
+[ ]+2:[ ]+8d2d[ ]+c.xor[ ]+a0,a1
+[ ]+4:[ ]+8fbd[ ]+c.xor[ ]+a5,a5
+[ ]+6:[ ]+00a4c433[ ]+xor[ ]+s0,s1,a0
new file mode 100644
@@ -0,0 +1,3 @@
+#as: -march=rv64ifd_zca
+#source: zc-zca-xor-fail.s
+#error_output: zc-zca-xor-rv64-fail.l
new file mode 100644
@@ -0,0 +1,12 @@
+.*: Assembler messages:
+.*: Error: illegal operands `c.xor'
+.*: Error: illegal operands `c.xor ,'
+.*: Error: illegal operands `c.xor ,x8'
+.*: Error: illegal operands `c.xor x8,'
+.*: Error: illegal operands `c.xor ,,'
+.*: Error: illegal operands `c.xor x7,x8'
+.*: Error: illegal operands `c.xor x16,x8'
+.*: Error: illegal operands `c.xor 3,x8'
+.*: Error: illegal operands `c.xor x8,x7'
+.*: Error: illegal operands `c.xor x8,x16'
+.*: Error: illegal operands `c.xor x8,3'
new file mode 100644
@@ -0,0 +1,14 @@
+#as: -march=rv64ifd_zca
+#source: zc-zca-xor.s
+#objdump: -d -Mno-aliases
+
+.*:[ ]+file format .*
+
+
+Disassembly of section .text:
+
+0+000 <target>:
+[ ]+0:[ ]+8c25[ ]+c.xor[ ]+s0,s1
+[ ]+2:[ ]+8d2d[ ]+c.xor[ ]+a0,a1
+[ ]+4:[ ]+8fbd[ ]+c.xor[ ]+a5,a5
+[ ]+6:[ ]+00a4c433[ ]+xor[ ]+s0,s1,a0
new file mode 100644
@@ -0,0 +1,5 @@
+target:
+ c.xor x8, x9
+ c.xor x10,x11
+ c.xor x15,x15
+ xor x8,x9,x10