| OLD | NEW |
| (Empty) |
| 1 @hex: | |
| 2 # SSE4 uses opcode extension which looks like REP prefix. | |
| 3 # Since two prefixes are not allowed, 16-bit form of these perfectly safe | |
| 4 # instructions is invalid. | |
| 5 | |
| 6 # popcnt %ax, %bx | |
| 7 66 f3 0f b8 d8 | |
| 8 f3 66 0f b8 d8 | |
| 9 # lzcnt %cx, %dx | |
| 10 66 f3 0f bd d1 | |
| 11 f3 66 0f bd d1 | |
| 12 # tzcnt %bp, %bx | |
| 13 66 f3 0f bc dd | |
| 14 f3 66 0f bc dd | |
| 15 @rval: | |
| 16 VALIDATOR: 0000000000000000: 66 f3 0f b8 d8 popc
nt %bx, %ax | |
| 17 VALIDATOR: ERROR: More than one (non-REX) prefix byte specified | |
| 18 VALIDATOR: 0000000000000005: f3 66 0f b8 d8 popc
nt %bx, %ax | |
| 19 VALIDATOR: ERROR: More than one (non-REX) prefix byte specified | |
| 20 VALIDATOR: 000000000000000a: 66 f3 0f bd d1 lzcn
t %dx, %cx | |
| 21 VALIDATOR: ERROR: More than one (non-REX) prefix byte specified | |
| 22 VALIDATOR: 000000000000000f: f3 66 0f bd d1 lzcn
t %dx, %cx | |
| 23 VALIDATOR: ERROR: More than one (non-REX) prefix byte specified | |
| 24 VALIDATOR: 0000000000000014: 66 f3 0f bc dd tzcn
t %bx, %bp | |
| 25 VALIDATOR: ERROR: More than one (non-REX) prefix byte specified | |
| 26 VALIDATOR: 0000000000000019: f3 66 0f bc dd tzcn
t %bx, %bp | |
| 27 VALIDATOR: ERROR: More than one (non-REX) prefix byte specified | |
| 28 VALIDATOR: Checking jump targets: 0 to 1e | |
| 29 VALIDATOR: Checking that basic blocks are aligned | |
| 30 *** <input> IS UNSAFE *** | |
| 31 @dis: | |
| 32 0000000000000000: 66 f3 0f b8 d8 popcnt %bx, %ax | |
| 33 0000000000000005: f3 66 0f b8 d8 popcnt %bx, %ax | |
| 34 000000000000000a: 66 f3 0f bd d1 lzcnt %dx, %cx | |
| 35 000000000000000f: f3 66 0f bd d1 lzcnt %dx, %cx | |
| 36 0000000000000014: 66 f3 0f bc dd tzcnt %bx, %bp | |
| 37 0000000000000019: f3 66 0f bc dd tzcnt %bx, %bp | |
| 38 @rdfa_output: | |
| 39 0: [0] unrecognized instruction | |
| 40 5: [1] unrecognized instruction | |
| 41 a: [2] unrecognized instruction | |
| 42 f: [3] unrecognized instruction | |
| 43 14: [4] unrecognized instruction | |
| 44 19: [5] unrecognized instruction | |
| 45 return code: 1 | |
| OLD | NEW |