[SeaBIOS] [PATCHv3 0/2] Emulate "leal" instruction to workaround x86emu bugs
Michael Tokarev
mjt at tls.msk.ru
Sat Apr 11 19:28:06 CEST 2015
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. In my tests,
> almost all "leal" instructions are replaced with 4 (or fewer)
> instructions.
Maybe it is possible to tell gcc to not produce this instruction
in the first place?
Thanks,
/mjt
More information about the SeaBIOS
mailing list