Branch: Tag:

2011-05-12

2011-05-12 16:49:14 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Compiler (amd64): Use MOV instead of LEA to save a byte.

357:    AMD64_CLEAR_REG(reg__); \    } else { \    if (reg__ & 0x08) { \ -  add_to_program(0x4c); \ +  add_to_program(0x49); \    reg__ &= 0x07; \    } else { \    add_to_program(0x48); \    } \ -  add_to_program(0x8d); \ -  add_to_program((reg__<<3)|0x04); \ -  add_to_program(0x25); \ +  add_to_program(0xc7); \ +  add_to_program(0xc0|reg__); \    PUSH_INT(imm32__); \    } \    } while(0)