x86.64: change the register order so that RBX is allocated before RCX

db4
Björn Lindqvist 2015-06-16 17:49:29 +02:00 committed by John Benediktsson
parent 8c8605d11a
commit 3678f62508
2 changed files with 3 additions and 3 deletions

View File

@ -39,7 +39,7 @@ cpu x86.64? [
interval-[30,46] machine-registers register-status interval-[30,46] machine-registers register-status
] unit-test ] unit-test
{ { RCX 1/0. } } [ { { RBX 1/0. } } [
f machine-registers init-allocator f machine-registers init-allocator
interval-[30,60] add-active interval-[30,60] add-active
interval-[30,46] machine-registers register-status interval-[30,46] machine-registers register-status
@ -49,9 +49,9 @@ cpu x86.64? [
{ {
{ {
{ RAX 1/0. } { RAX 1/0. }
{ RBX 1/0. }
{ RCX 1/0. } { RCX 1/0. }
{ RDX 1/0. } { RDX 1/0. }
{ RBX 1/0. }
{ RBP 1/0. } { RBP 1/0. }
{ RSI 1/0. } { RSI 1/0. }
{ RDI 1/0. } { RDI 1/0. }

View File

@ -32,7 +32,7 @@ M: x86.64 frame-reg RBP ;
M: x86.64 machine-registers M: x86.64 machine-registers
{ {
{ int-regs { RAX RCX RDX RBX RBP RSI RDI R8 R9 R10 R11 R12 } } { int-regs { RAX RBX RCX RDX RBP RSI RDI R8 R9 R10 R11 R12 } }
{ float-regs { { float-regs {
XMM0 XMM1 XMM2 XMM3 XMM4 XMM5 XMM6 XMM7 XMM0 XMM1 XMM2 XMM3 XMM4 XMM5 XMM6 XMM7
XMM8 XMM9 XMM10 XMM11 XMM12 XMM13 XMM14 XMM15 XMM8 XMM9 XMM10 XMM11 XMM12 XMM13 XMM14 XMM15