[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] Commit b2a575a1c652 broke i486 support.
From: |
Rob Landley |
Subject: |
Re: [Qemu-devel] Commit b2a575a1c652 broke i486 support. |
Date: |
Tue, 30 May 2017 14:05:15 -0500 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 |
On 05/29/2017 05:14 AM, Richard W.M. Jones wrote:
> I see in the disassembly use of cmovne (new in Pentium Pro) and
> bswap (new in 486).
> [http://cse.unl.edu/~goddard/Courses/CSCE351/IntelArchitecture/InstructionSetSummary.pdf]
>
> The cmovne instruction is generated by the compiler (GCC in my case),
>
> The following patch removes the cmovne instruction, so it should work
> on 486 (although I didn't test it). It's not possible to remove bswap
> without surgery on the inline assembler.
Is there any way to make it just _not_ load the option rom for -cpu 486?
It ran fine before that thing went in...
Rob