Commit Graph

7 Commits (4230d2502a6fb0d79b89e29900736bf7830950e6)

Author SHA1 Message Date
Björn Lindqvist 0fc8fb22ca cpu.x86,bootstrap.assembler.*: making sure 0 is the relocation dummy value everywhere
In some places it was 0xffffffff, but it should always be 0 MOV for
consistency.
2016-05-19 22:43:52 +02:00
Björn Lindqvist 274a0174fd cpu.x86: use INC and DEC in favor of ADD reg, 1 and SUB reg, 1
The encoding for INC reg and DEC reg is one byte shorter so using it
shaves of a few bytes from the generated code.
2016-05-08 18:44:31 +02:00
Doug Coleman 38f3450519 compiler: fix D. 2015-08-13 18:15:25 -07:00
Björn Lindqvist e41aef9a50 cpu.x86: use push and pop when emitting %prologue and %epilogue
push/pop REG has the same effect as sub/add rsp, 8 so use them instead
when applicable to generate a little shorter code
2015-07-21 16:22:33 -07:00
Björn Lindqvist 6c43475183 cpu.x86: fix silly bug in %clear 2015-05-18 06:52:49 +02:00
Björn Lindqvist ba6accb983 cpu.x86.tests: more tests 2014-12-08 18:13:46 -08:00
Slava Pestov 42b858b3f0 math.libm: fix regression: fsqrt intrinsic was not working ever since change was made to inline FUNCTION: bodies 2010-08-12 21:41:57 -07:00