diff options
author | Magnus Lång <[email protected]> | 2017-02-20 14:50:26 +0100 |
---|---|---|
committer | Magnus Lång <[email protected]> | 2017-03-06 18:18:23 +0100 |
commit | 7fde7799f735d2dd032b6a3157ec80b9a15cf940 (patch) | |
tree | b5bcfacdeb891b4c3e05dc5c13d6c5c67debc7b0 | |
parent | 1acdb8912735e78ced00a5c995a33fd4ea5eef91 (diff) | |
download | otp-7fde7799f735d2dd032b6a3157ec80b9a15cf940.tar.gz otp-7fde7799f735d2dd032b6a3157ec80b9a15cf940.tar.bz2 otp-7fde7799f735d2dd032b6a3157ec80b9a15cf940.zip |
hipe_amd64_encode: Add test for 16-bit 'test' with REX
-rw-r--r-- | lib/hipe/amd64/hipe_amd64_encode.erl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/hipe/amd64/hipe_amd64_encode.erl b/lib/hipe/amd64/hipe_amd64_encode.erl index f8cc0c7d83..bda2824ffc 100644 --- a/lib/hipe/amd64/hipe_amd64_encode.erl +++ b/lib/hipe/amd64/hipe_amd64_encode.erl @@ -1316,6 +1316,7 @@ dotest1(OS) -> RM64 = {rm64,rm_reg(?EDX)}, RM32 = {rm32,rm_reg(?EDX)}, RM16 = {rm16,rm_reg(?EDX)}, + RM16REX = {rm16,rm_reg(?R13)}, RM8 = {rm8,rm_reg(?EDX)}, RM8REX = {rm8,rm_reg(?SIL)}, Rel32 = {rel32,Word32}, @@ -1479,6 +1480,7 @@ dotest1(OS) -> t(OS,'test',{RM8,Imm8}), t(OS,'test',{RM8REX,Imm8}), t(OS,'test',{RM16,Imm16}), + t(OS,'test',{RM16REX,Imm16}), t(OS,'test',{RM32,Imm32}), t(OS,'test',{RM64,Imm32}), t(OS,'test',{RM32,Reg32}), |