diff options
| -rw-r--r-- | src/lj_asm.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lj_asm.c b/src/lj_asm.c index 944b9b78..6231f134 100644 --- a/src/lj_asm.c +++ b/src/lj_asm.c | |||
| @@ -155,6 +155,7 @@ static LJ_AINLINE MCode *emit_op(x86Op xo, Reg rr, Reg rb, Reg rx, | |||
| 155 | if (rex != 0x40) { | 155 | if (rex != 0x40) { |
| 156 | rex |= (rr >> 16); | 156 | rex |= (rr >> 16); |
| 157 | if (n == -4) { *p = (MCode)rex; rex = (MCode)(xo >> 8); } | 157 | if (n == -4) { *p = (MCode)rex; rex = (MCode)(xo >> 8); } |
| 158 | else if ((xo & 0xffffff) == 0x6600fd) { *p = (MCode)rex; rex = 0x66; } | ||
| 158 | *--p = (MCode)rex; | 159 | *--p = (MCode)rex; |
| 159 | } | 160 | } |
| 160 | } | 161 | } |
