]> git.proxmox.com Git - mirror_qemu.git/blobdiff - target/i386/tcg/translate.c
target/i386: implement SYSCALL/SYSRET in 32-bit emulators
[mirror_qemu.git] / target / i386 / tcg / translate.c
index a6c2424133814e2ad9f78e90704fb085ee05cbe0..28cb3fb7f4bc7d980ecfd80f1e77eaa179b83187 100644 (file)
@@ -5704,7 +5704,6 @@ static bool disas_insn(DisasContext *s, CPUState *cpu)
             s->base.is_jmp = DISAS_EOB_ONLY;
         }
         break;
-#ifdef TARGET_X86_64
     case 0x105: /* syscall */
         /* For Intel SYSCALL is only valid in long mode */
         if (!LMA(s) && env->cpuid_vendor1 == CPUID_VENDOR_INTEL_1) {
@@ -5738,7 +5737,6 @@ static bool disas_insn(DisasContext *s, CPUState *cpu)
             gen_eob_worker(s, false, true);
         }
         break;
-#endif
     case 0x1a2: /* cpuid */
         gen_update_cc_op(s);
         gen_update_eip_cur(s);