diff options
| author | ptitSeb <sebastien.chev@gmail.com> | 2021-03-05 12:26:11 +0100 |
|---|---|---|
| committer | ptitSeb <sebastien.chev@gmail.com> | 2021-03-05 12:26:11 +0100 |
| commit | 4081890a941f02315397d05402aaaa085429bedc (patch) | |
| tree | 562ee31ea0d85cc8b9749500ada2d547d6f478c0 /src | |
| parent | 18b4c66d3629f5e69edc580400a50012e82a66df (diff) | |
| download | box64-4081890a941f02315397d05402aaaa085429bedc.tar.gz box64-4081890a941f02315397d05402aaaa085429bedc.zip | |
Ajusted REX 0F B6 opcode, as 32bits access to regs always wipe upper part
Diffstat (limited to 'src')
| -rw-r--r-- | src/emu/x64run0f.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/emu/x64run0f.c b/src/emu/x64run0f.c index cdaf3e4a..d49f8807 100644 --- a/src/emu/x64run0f.c +++ b/src/emu/x64run0f.c @@ -75,10 +75,7 @@ int Run0F(x64emu_t *emu, rex_t rex) nextop = F8; GETEB; GETGD; - if(rex.w) - GD->q[0] = EB->byte[0]; - else - GD->dword[0] = EB->byte[0]; + GD->q[0] = EB->byte[0]; break; default: |