[PATCH v4 4/6] ppc/svp64: support svstep instructions
Dmitry Selyutin
ghostmansd@gmail.com
Thu Jun 23 20:08:36 GMT 2022
More information about the Binutils mailing list
Thu Jun 23 20:08:36 GMT 2022
- Previous message (by thread): [PATCH v4 3/6] ppc/svp64: support setvl instructions
- Next message (by thread): [PATCH v4 5/6] ppc/svp64: support svshape instruction
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
https://libre-soc.org/openpower/sv/ https://libre-soc.org/openpower/isa/simplev/ --- gas/testsuite/gas/ppc/ppc.exp | 1 + gas/testsuite/gas/ppc/svstep.d | 13 +++++++++++++ gas/testsuite/gas/ppc/svstep.s | 5 +++++ opcodes/ppc-opc.c | 3 +++ 4 files changed, 22 insertions(+) create mode 100644 gas/testsuite/gas/ppc/svstep.d create mode 100644 gas/testsuite/gas/ppc/svstep.s diff --git a/gas/testsuite/gas/ppc/ppc.exp b/gas/testsuite/gas/ppc/ppc.exp index cd4dd658ce..d4d06d587e 100644 --- a/gas/testsuite/gas/ppc/ppc.exp +++ b/gas/testsuite/gas/ppc/ppc.exp @@ -155,3 +155,4 @@ run_dump_test "pr27676" run_dump_test "raw" run_dump_test "setvl" +run_dump_test "svstep" diff --git a/gas/testsuite/gas/ppc/svstep.d b/gas/testsuite/gas/ppc/svstep.d new file mode 100644 index 0000000000..156eb4668a --- /dev/null +++ b/gas/testsuite/gas/ppc/svstep.d @@ -0,0 +1,13 @@ +#as: -mlibresoc +#objdump: -dr -Mlibresoc + +.*: file format .* + + +Disassembly of section \.text: +0+ <\.text>: +.*: (27 00 00 58|58 00 00 27) svstep. r0,1,0 +.*: (26 00 00 58|58 00 00 26) svstep r0,1,0 +.*: (26 00 e0 59|59 e0 00 26) svstep r15,1,0 +.*: (26 7e 00 58|58 00 7e 26) svstep r0,64,0 +.*: (66 00 00 58|58 00 00 66) svstep r0,1,1 diff --git a/gas/testsuite/gas/ppc/svstep.s b/gas/testsuite/gas/ppc/svstep.s new file mode 100644 index 0000000000..f238954cf6 --- /dev/null +++ b/gas/testsuite/gas/ppc/svstep.s @@ -0,0 +1,5 @@ +svstep. 0,1,0 +svstep 0,1,0 +svstep 15,1,0 +svstep 0,64,0 +svstep 0,1,1 diff --git a/opcodes/ppc-opc.c b/opcodes/ppc-opc.c index 90f813a280..60a038aa40 100644 --- a/opcodes/ppc-opc.c +++ b/opcodes/ppc-opc.c @@ -6783,6 +6783,9 @@ const struct powerpc_opcode powerpc_opcodes[] = { {"rlmi", M(22,0), M_MASK, M601, PPCVLE, {RA, RS, RB, MBE, ME}}, {"rlmi.", M(22,1), M_MASK, M601, PPCVLE, {RA, RS, RB, MBE, ME}}, +{"svstep", SVL(22,19,0), SVL_MASK, SVP64, PPCVLE, {RT, SVi, vf}}, +{"svstep.", SVL(22,19,1), SVL_MASK, SVP64, PPCVLE, {RT, SVi, vf}}, + {"setvl", SVL(22,27,0), SVL_MASK, SVP64, PPCVLE, {RT, RA, SVi, vf, vs, ms}}, {"setvl.", SVL(22,27,1), SVL_MASK, SVP64, PPCVLE, {RT, RA, SVi, vf, vs, ms}}, -- 2.36.1
- Previous message (by thread): [PATCH v4 3/6] ppc/svp64: support setvl instructions
- Next message (by thread): [PATCH v4 5/6] ppc/svp64: support svshape instruction
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Binutils mailing list