Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion gas/config/tc-riscv.c
Original file line number Diff line number Diff line change
Expand Up @@ -869,7 +869,7 @@ static const struct opcode_name_t opcode_name_list[] =
/*reserved 0x5b. */
{"JAL", 0x6f},
{"SYSTEM", 0x73},
/*reserved 0x77. */
{"OP_P", 0x77},
{"CUSTOM_3", 0x7b},
/* >80b 0x7f. */

Expand Down
43 changes: 22 additions & 21 deletions gas/testsuite/gas/riscv/insn-dwarf.d
Original file line number Diff line number Diff line change
Expand Up @@ -60,27 +60,28 @@ insn.s +53 +0x9a.*
insn.s +54 +0x9e.*
insn.s +55 +0xa2.*
insn.s +57 +0xa6.*
insn.s +59 +0xaa.*
insn.s +60 +0xac.*
insn.s +58 +0xaa.*
insn.s +60 +0xae.*
insn.s +61 +0xb0.*
insn.s +62 +0xb6.*
insn.s +63 +0xbe.*
insn.s +64 +0xc8.*
insn.s +65 +0xd4.*
insn.s +66 +0xea.*
insn.s +67 +0xec.*
insn.s +62 +0xb4.*
insn.s +63 +0xba.*
insn.s +64 +0xc2.*
insn.s +65 +0xcc.*
insn.s +66 +0xd8.*
insn.s +67 +0xee.*
insn.s +68 +0xf0.*
insn.s +69 +0xf6.*
insn.s +70 +0xfe.*
insn.s +71 +0x108.*
insn.s +72 +0x114.*
insn.s +74 +0x12a.*
insn.s +75 +0x134.*
insn.s +76 +0x13e.*
insn.s +77 +0x154.*
insn.s +78 +0x16a.*
insn.s +79 +0x180.*
insn.s +80 +0x196.*
insn.s +81 +0x1ac.*
insn.s +- +0x1c2
insn.s +69 +0xf4.*
insn.s +70 +0xfa.*
insn.s +71 +0x102.*
insn.s +72 +0x10c.*
insn.s +73 +0x118.*
insn.s +75 +0x12e.*
insn.s +76 +0x138.*
insn.s +77 +0x142.*
insn.s +78 +0x158.*
insn.s +79 +0x16e.*
insn.s +80 +0x184.*
insn.s +81 +0x19a.*
insn.s +82 +0x1b0.*
insn.s +- +0x1c6
#pass
3 changes: 2 additions & 1 deletion gas/testsuite/gas/riscv/insn-na.d
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#as: -march=rv32ifcv
#as: -march=rv32ifcv_zvkned
#source: insn.s
#objdump: -dw -Mno-aliases

Expand Down Expand Up @@ -59,6 +59,7 @@ Disassembly of section .text:
[^:]+:[ ]+00c58533[ ]+add[ ]+a0,a1,a2
[^:]+:[ ]+00c58533[ ]+add[ ]+a0,a1,a2
[^:]+:[ ]+022180d7[ ]+vadd\.vv[ ]+v1,v2,v3
[^:]+:[ ]+a2402177[ ]+vaesdm\.vv[ ]+v2,v4
[^:]+:[ ]+0001[ ]+c\.addi[ ]+zero,0
[^:]+:[ ]+00000013[ ]+addi[ ]+zero,zero,0
[^:]+:[ ]+001f 0000 0000[ ].*
Expand Down
3 changes: 2 additions & 1 deletion gas/testsuite/gas/riscv/insn.d
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#as: -march=rv32ifcv
#as: -march=rv32ifcv_zvkned
#objdump: -dr

.*:[ ]+file format .*
Expand Down Expand Up @@ -70,6 +70,7 @@ Disassembly of section .text:
[^:]+:[ ]+00c58533[ ]+add[ ]+a0,a1,a2
[^:]+:[ ]+00c58533[ ]+add[ ]+a0,a1,a2
[^:]+:[ ]+022180d7[ ]+vadd\.vv[ ]+v1,v2,v3
[^:]+:[ ]+a2402177[ ]+vaesdm\.vv[ ]+v2,v4
[^:]+:[ ]+0001[ ]+nop
[^:]+:[ ]+00000013[ ]+nop
[^:]+:[ ]+001f 0000 0000[ ].*
Expand Down
1 change: 1 addition & 0 deletions gas/testsuite/gas/riscv/insn.s
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ target:
.insn r 0x33, 0, 0, fa0, fa1, fa2

.insn r OP_V, 0, 1, x1, x3, x2
.insn r OP_P, 2, 0x51, x2, x0, x4

.insn 0x0001
.insn 0x00000013
Expand Down