Fixed compilation error in i386-asm.c
This commit is contained in:
parent
ae23c46ce2
commit
3065e70630
2 changed files with 3 additions and 5 deletions
|
@ -841,7 +841,6 @@ static void asm_opcode(TCCState *s1, int opcode)
|
||||||
else {
|
else {
|
||||||
if (ops[i].e.sym)
|
if (ops[i].e.sym)
|
||||||
goto error_relocate;
|
goto error_relocate;
|
||||||
}
|
|
||||||
gen_le16(ops[i].e.v);
|
gen_le16(ops[i].e.v);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
@ -876,7 +875,6 @@ static void asm_opcode(TCCState *s1, int opcode)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
a32 = o32 = 0;
|
a32 = o32 = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -74,8 +74,8 @@ ALT(DEF_ASM_OP2(btcw, 0x0fbb, 0, OPC_MODRM | OPC_WL, OPT_REGW, OPT_REGW | OPT_EA
|
||||||
ALT(DEF_ASM_OP2(btcw, 0x0fba, 7, OPC_MODRM | OPC_WL, OPT_IM8, OPT_REGW | OPT_EA))
|
ALT(DEF_ASM_OP2(btcw, 0x0fba, 7, OPC_MODRM | OPC_WL, OPT_IM8, OPT_REGW | OPT_EA))
|
||||||
|
|
||||||
/* prefixes */
|
/* prefixes */
|
||||||
DEF_ASM_OP0(addr32, 0x67)
|
DEF_ASM_OP0(a32, 0x67)
|
||||||
DEF_ASM_OP0(data32, 0x66)
|
DEF_ASM_OP0(o32, 0x66)
|
||||||
DEF_ASM_OP0(lock, 0xf0)
|
DEF_ASM_OP0(lock, 0xf0)
|
||||||
DEF_ASM_OP0(rep, 0xf3)
|
DEF_ASM_OP0(rep, 0xf3)
|
||||||
DEF_ASM_OP0(repe, 0xf3)
|
DEF_ASM_OP0(repe, 0xf3)
|
||||||
|
|
Loading…
Reference in a new issue