00000000 <.text>:
.*: 10 01 12 00 evaddw r0,r1,r2
.*: 10 1f 12 02 evaddiw r0,r2,31
-.*: 10 01 12 04 evsubfw r0,r1,r2
-.*: 10 01 12 04 evsubfw r0,r1,r2
-.*: 10 1f 12 06 evsubifw r0,31,r2
-.*: 10 1f 12 06 evsubifw r0,31,r2
+.*: 10 01 12 04 evsubw r0,r2,r1
+.*: 10 01 12 04 evsubw r0,r2,r1
+.*: 10 1f 12 06 evsubiw r0,r2,31
+.*: 10 1f 12 06 evsubiw r0,r2,31
.*: 10 01 02 08 evabs r0,r1
.*: 10 01 02 09 evneg r0,r1
.*: 10 01 02 0a evextsb r0,r1
#as: -a32 -mbig -mvle
-#objdump: -d -Mspe
-#name: Validate SPE instructions
+#objdump: -d -Mspe -Mraw
+#name: Validate SPE raw instructions
.*: +file format elf.*-powerpc.*
00000000 <.text>:
0: 10 01 12 04 evsubfw r0,r1,r2
- 4: 10 01 12 04 evsubw r0,r2,r1
+ 4: 10 01 12 04 evsubfw r0,r1,r2
8: 10 1f 12 06 evsubifw r0,31,r2
- c: 10 1f 12 06 evsubiw r0,r2,31
- 10: 10 01 12 18 evnor r0,r1,r2
- 14: 10 01 0a 18 evnot r0,r1
+ c: 10 1f 12 06 evsubifw r0,31,r2
+ 10: 10 01 0a 18 evnor r0,r1,r1
+ 14: 10 01 0a 18 evnor r0,r1,r1
{"vmul10uq", VX (4, 513), VXVB_MASK, PPCVEC3, 0, {VD, VA}},
{"evaddiw", VX (4, 514), VX_MASK, PPCSPE, 0, {RS, RB, UIMM}},
{"vminub", VX (4, 514), VX_MASK, PPCVEC, 0, {VD, VA, VB}},
+{"evsubw", VX (4, 516), VX_MASK, PPCSPE, EXT, {RS, RB, RA}},
{"evsubfw", VX (4, 516), VX_MASK, PPCSPE, 0, {RS, RA, RB}},
-{"evsubw", VX (4, 516), VX_MASK, PPCSPE, 0, {RS, RB, RA}},
{"vsrb", VX (4, 516), VX_MASK, PPCVEC, 0, {VD, VA, VB}},
{"vsrq", VX (4, 517), VX_MASK, POWER10, 0, {VD, VA, VB}},
+{"evsubiw", VX (4, 518), VX_MASK, PPCSPE, EXT, {RS, RB, UIMM}},
{"evsubifw", VX (4, 518), VX_MASK, PPCSPE, 0, {RS, UIMM, RB}},
-{"evsubiw", VX (4, 518), VX_MASK, PPCSPE, 0, {RS, RB, UIMM}},
{"vcmpgtub", VXR(4, 518,0), VXR_MASK, PPCVEC, 0, {VD, VA, VB}},
{"evabs", VX (4, 520), VX_MASK, PPCSPE, 0, {RS, RA}},
{"vmuleub", VX (4, 520), VX_MASK, PPCVEC, 0, {VD, VA, VB}},