Fail when VEX.L is set in SSE instructions (AVX is not supported)
Closes #1656
This commit is contained in:
parent
6c1cbef6ac
commit
22ea31cdf7
@ -3378,6 +3378,10 @@ static void gen_sse(CPUX86State *env, DisasContext *s, int b,
|
||||
if (is_xmm)
|
||||
reg |= rex_r;
|
||||
mod = (modrm >> 6) & 3;
|
||||
/* VEX.L (256 bit) encodings are not supported */
|
||||
if (s->vex_l != 0) {
|
||||
goto illegal_op; // perhaps it should be unknown_op?
|
||||
}
|
||||
if (sse_fn_epp == SSE_SPECIAL) {
|
||||
b |= (b1 << 8);
|
||||
switch(b) {
|
||||
|
Loading…
Reference in New Issue
Block a user