target/i386/tcg/decode-new.c.inc | 33 +++++++++++++++++--------------- 1 file changed, 18 insertions(+), 15 deletions(-)
MMX instructions do not have a VEX encoding, so reject it when
the MMX instructions are encoded with X86_SPECIAL_MMX.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
---
target/i386/tcg/decode-new.c.inc | 33 +++++++++++++++++---------------
1 file changed, 18 insertions(+), 15 deletions(-)
diff --git a/target/i386/tcg/decode-new.c.inc b/target/i386/tcg/decode-new.c.inc
index 2756953c744..65fd402c17f 100644
--- a/target/i386/tcg/decode-new.c.inc
+++ b/target/i386/tcg/decode-new.c.inc
@@ -2425,6 +2425,12 @@ static void decode_modrm(DisasContext *s, CPUX86State *env,
decode->mem = (AddressParts){ def_seg, base, index, scale, disp };
}
+static bool is_mmx(const DisasContext *s, const X86OpEntry *e)
+{
+ return (e->special == X86_SPECIAL_MMX &&
+ !(s->prefix & (PREFIX_REPZ | PREFIX_REPNZ | PREFIX_DATA)));
+}
+
static bool decode_op_size(DisasContext *s, X86OpEntry *e, X86OpSize size, MemOp *ot)
{
switch (size) {
@@ -2470,8 +2476,7 @@ static bool decode_op_size(DisasContext *s, X86OpEntry *e, X86OpSize size, MemOp
return true;
case X86_SIZE_dq: /* SSE/AVX 128-bit */
- if (e->special == X86_SPECIAL_MMX &&
- !(s->prefix & (PREFIX_DATA | PREFIX_REPZ | PREFIX_REPNZ))) {
+ if (is_mmx(s, e)) {
*ot = MO_64;
return true;
}
@@ -2489,8 +2494,7 @@ static bool decode_op_size(DisasContext *s, X86OpEntry *e, X86OpSize size, MemOp
return true;
case X86_SIZE_x: /* 128/256-bit, based on operand size */
- if (e->special == X86_SPECIAL_MMX &&
- !(s->prefix & (PREFIX_DATA | PREFIX_REPZ | PREFIX_REPNZ))) {
+ if (is_mmx(s, e)) {
*ot = MO_64;
return true;
}
@@ -2605,8 +2609,7 @@ static bool decode_op(DisasContext *s, CPUX86State *env, X86DecodedInsn *decode,
goto get_reg;
case X86_TYPE_V: /* reg in the modrm byte selects an XMM/YMM register */
- if (decode->e.special == X86_SPECIAL_MMX &&
- !(s->prefix & (PREFIX_DATA | PREFIX_REPZ | PREFIX_REPNZ))) {
+ if (is_mmx(s, &decode->e)) {
op->unit = X86_OP_MMX;
} else {
op->unit = X86_OP_SSE;
@@ -2625,8 +2628,7 @@ static bool decode_op(DisasContext *s, CPUX86State *env, X86DecodedInsn *decode,
goto get_modrm;
case X86_TYPE_W: /* XMM/YMM modrm operand */
- if (decode->e.special == X86_SPECIAL_MMX &&
- !(s->prefix & (PREFIX_DATA | PREFIX_REPZ | PREFIX_REPNZ))) {
+ if (is_mmx(s, &decode->e)) {
op->unit = X86_OP_MMX;
} else {
op->unit = X86_OP_SSE;
@@ -2638,8 +2640,7 @@ static bool decode_op(DisasContext *s, CPUX86State *env, X86DecodedInsn *decode,
goto get_modrm_reg;
case X86_TYPE_U: /* R/M in the modrm byte selects an XMM/YMM register */
- if (decode->e.special == X86_SPECIAL_MMX &&
- !(s->prefix & (PREFIX_DATA | PREFIX_REPZ | PREFIX_REPNZ))) {
+ if (is_mmx(s, &decode->e)) {
op->unit = X86_OP_MMX;
} else {
op->unit = X86_OP_SSE;
@@ -3135,12 +3136,15 @@ static bool validate_vex(DisasContext *s, X86DecodedInsn *decode)
case 4:
case 5:
case 7:
- if (s->prefix & PREFIX_VEX) {
+ if (is_mmx(s, e)) {
+ if (s->prefix & PREFIX_VEX) {
+ goto illegal;
+ }
+ } else if (s->prefix & PREFIX_VEX) {
if (!(s->flags & HF_AVX_EN_MASK)) {
goto illegal;
}
- } else if (e->special != X86_SPECIAL_MMX ||
- (s->prefix & (PREFIX_REPZ | PREFIX_REPNZ | PREFIX_DATA))) {
+ } else {
if (!(s->flags & HF_OSFXSR_MASK)) {
goto illegal;
}
@@ -3694,8 +3698,7 @@ static void disas_insn(DisasContext *s, CPUState *cpu)
}
}
- if (decode.e.special == X86_SPECIAL_MMX &&
- !(s->prefix & (PREFIX_REPZ | PREFIX_REPNZ | PREFIX_DATA))) {
+ if (is_mmx(s, &decode.e)) {
gen_helper_enter_mmx(tcg_env);
}
--
2.56.0
Hi Paolo,
I've tested this patch against the real CPU (Intel Core i3-6100 to be exact).
Your approach with is_mmx() is way better than my local patch in terms
of completeness, as it systematically catches all MMX instructions
encoded with VEX prefix at once.
The only thing left to test is the OSFXSR check change.
Test program I used to verify this patch:
```c
#include <signal.h>
#include <setjmp.h>
#include <stdint.h>
#include <stdio.h>
#include <string.h>
#include <sys/mman.h>
#include <unistd.h>
sigjmp_buf buf;
volatile uint8_t* code = NULL;
void handle_signal(int signal)
{
siglongjmp(buf, signal);
}
int execute_code(void)
{
int sig = sigsetjmp(buf, 1);
if (sig)
{
return sig;
}
void (*func)(void) = (void*)code;
func();
__builtin_unreachable();
}
int test_0f(uint8_t prefix, uint8_t opcode, uint8_t modrm)
{
size_t i = 0;
if (prefix)
{
code[i++] = prefix;
}
code[i++] = 0xf;
code[i++] = opcode;
code[i++] = modrm;
memset(code + i, 0xcc, 16);
return execute_code();
}
int test_vex(uint8_t prefix, uint8_t opcode, uint8_t modrm, int vex_l)
{
uint8_t vex2 = 0xf8;
switch (prefix)
{
case 0x00:
break;
case 0x66:
vex2 |= 1;
break;
case 0xf2:
vex2 |= 3;
break;
case 0xf3:
vex2 |= 2;
break;
default:
return 0;
}
if (vex_l)
{
vex2 |= 4;
}
code[0] = 0xc5;
code[1] = vex2;
code[2] = opcode;
code[3] = modrm;
memset(code + 4, 0xcc, 16);
return execute_code();
}
int main(void)
{
code = mmap(NULL, 0x1000,
PROT_READ | PROT_WRITE | PROT_EXEC,
MAP_PRIVATE | MAP_ANONYMOUS, -1, 0);
if (code == MAP_FAILED)
{
perror("mmap");
return 1;
}
if (signal(SIGSEGV, handle_signal) == SIG_ERR)
{
perror("signal(SIGSEGV)");
return 1;
}
if (signal(SIGILL, handle_signal) == SIG_ERR)
{
perror("signal(SIGILL)");
return 1;
}
if (signal(SIGTRAP, handle_signal) == SIG_ERR)
{
perror("signal(SIGTRAP)");
return 1;
}
memset(code, 0xcc, 0x1000);
uint8_t cur_byte = 0x00;
while (1)
{
printf("%02x: ", cur_byte);
switch (cur_byte)
{
case 0x34: // sysenter
case 0xcc: // bswap
puts("skipped");
goto increment;
default:
break;
}
printf("0f: %d %d %d %d\n",
test_0f(0x00, cur_byte, 0xc0),
test_0f(0x66, cur_byte, 0xc0),
test_0f(0xf2, cur_byte, 0xc0),
test_0f(0xf3, cur_byte, 0xc0));
printf(" VEX.L=0: %d %d %d %d\n",
test_vex(0x00, cur_byte, 0xc0, 0),
test_vex(0x66, cur_byte, 0xc0, 0),
test_vex(0xf2, cur_byte, 0xc0, 0),
test_vex(0xf3, cur_byte, 0xc0, 0));
printf(" VEX.L=1: %d %d %d %d\n",
test_vex(0x00, cur_byte, 0xc0, 1),
test_vex(0x66, cur_byte, 0xc0, 1),
test_vex(0xf2, cur_byte, 0xc0, 1),
test_vex(0xf3, cur_byte, 0xc0, 1));
increment:
if (cur_byte == 0xff)
{
break;
}
cur_byte++;
}
return 0;
}
```
Results with your patch:
```
$ clang bruteforce_vex.c -Wall -g3 -o bruteforce_vex -static
< volatile-related warnings >
$ ./bruteforce_vex > out_i3_6100.txt
$ .../QEMU/build_dbg_nosan/qemu-x86_64 ./bruteforce_vex >
out_qemu_paolo_patch.txt
$ git diff ./out_qemu_paolo_patch.txt ./out_i3_6100.txt
diff --git a/./out_qemu_paolo_patch.txt b/./out_i3_6100.txt
index 7150fbe..b868b47 100644
--- a/./out_qemu_paolo_patch.txt
+++ b/./out_i3_6100.txt
@@ -22,10 +22,10 @@
07: 0f: 11 11 11 11
VEX.L=0: 4 4 4 4
VEX.L=1: 4 4 4 4
-08: 0f: 5 5 5 5
+08: 0f: 11 11 11 11
VEX.L=0: 4 4 4 4
VEX.L=1: 4 4 4 4
-09: 0f: 5 5 5 5
+09: 0f: 11 11 11 11
VEX.L=0: 4 4 4 4
VEX.L=1: 4 4 4 4
0a: 0f: 4 4 4 4
@@ -37,10 +37,10 @@
0c: 0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
+ VEX.L=1: 4 4 4 4
7f: 0f: 5 5 4 5
VEX.L=0: 4 5 4 5
VEX.L=1: 4 5 4 5
@@ -580,7 +580,7 @@ c1: 0f: 5 5 5 5
VEX.L=1: 4 4 4 4
c2: 0f: 5 5 5 5
VEX.L=0: 5 5 5 5
- VEX.L=1: 5 5 4 4
+ VEX.L=1: 5 5 5 5
c3: 0f: 4 4 4 4
VEX.L=0: 4 4 4 4
VEX.L=1: 4 4 4 4
@@ -687,9 +687,9 @@ e5: 0f: 5 5 4 4
e6: 0f: 4 5 5 5
VEX.L=0: 4 5 5 5
VEX.L=1: 4 5 5 5
-e7: 0f: 5 5 4 4
- VEX.L=0: 4 5 4 4
- VEX.L=1: 4 5 4 4
+e7: 0f: 4 4 4 4
+ VEX.L=0: 4 4 4 4
+ VEX.L=1: 4 4 4 4
e8: 0f: 5 5 4 4
VEX.L=0: 4 5 4 4
VEX.L=1: 4 5 4 4
@@ -735,7 +735,7 @@ f5: 0f: 5 5 4 4
f6: 0f: 5 5 4 4
VEX.L=0: 4 5 4 4
VEX.L=1: 4 5 4 4
-f7: 0f: 5 11 4 4
+f7: 0f: 11 11 4 4
VEX.L=0: 4 11 4 4
VEX.L=1: 4 4 4 4
f8: 0f: 5 5 4 4
$
```
With my patch (for comparison):
```
$ git diff ./out_qemu_my_patch.txt ./out_i3_6100.txt
diff --git a/./out_qemu_my_patch.txt b/./out_i3_6100.txt
index 76d57a9..b868b47 100644
--- a/./out_qemu_my_patch.txt
+++ b/./out_i3_6100.txt
@@ -22,10 +22,10 @@
07: 0f: 11 11 11 11
VEX.L=0: 4 4 4 4
VEX.L=1: 4 4 4 4
-08: 0f: 5 5 5 5
+08: 0f: 11 11 11 11
VEX.L=0: 4 4 4 4
VEX.L=1: 4 4 4 4
-09: 0f: 5 5 5 5
+09: 0f: 11 11 11 11
VEX.L=0: 4 4 4 4
VEX.L=1: 4 4 4 4
0a: 0f: 4 4 4 4
@@ -37,10 +37,10 @@
0c: 0f: 4 4 4 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