Re: [SeaBIOS] [PATCHv3 0/2] Emulate leal instruction to workaround x86emu bugs

2015-04-13 Thread Paolo Bonzini
On 11/04/2015 20:07, Kevin O'Connor wrote: With a few additional checks it's possible to emulate all the leal cases without requiring a function call. Although this makes the vgafixup.py code a little more complex it eliminates the need for the emulate_leal function and it produces

Re: [SeaBIOS] [PATCHv3 0/2] Emulate leal instruction to workaround x86emu bugs

2015-04-11 Thread Michael Tokarev
11.04.2015 18:08, Kevin O'Connor wrote: With a few additional checks it's possible to emulate all the leal cases without requiring a function call. Although this makes the vgafixup.py code a little more complex it eliminates the need for the emulate_leal function and it produces better code.

Re: [SeaBIOS] [PATCHv3 0/2] Emulate leal instruction to workaround x86emu bugs

2015-04-11 Thread Kevin O'Connor
On Sat, Apr 11, 2015 at 08:28:06PM +0300, Michael Tokarev wrote: 11.04.2015 18:08, Kevin O'Connor wrote: With a few additional checks it's possible to emulate all the leal cases without requiring a function call. Although this makes the vgafixup.py code a little more complex it eliminates

[SeaBIOS] [PATCHv3 0/2] Emulate leal instruction to workaround x86emu bugs

2015-04-11 Thread Kevin O'Connor
With a few additional checks it's possible to emulate all the leal cases without requiring a function call. Although this makes the vgafixup.py code a little more complex it eliminates the need for the emulate_leal function and it produces better code. In my tests, almost all leal instructions