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

_______________________________________________
SeaBIOS mailing list
[email protected]
http://www.seabios.org/mailman/listinfo/seabios

Reply via email to