mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-26 12:46:00 +00:00
Fix bug in reserved registers. DH actually aliases DX and EDX which
are not reserved registers. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10514 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
9af9dbde7d
commit
a3d0e5c2b2
@ -227,14 +227,14 @@ bool RA::runOnMachineFunction(MachineFunction &fn) {
|
||||
|
||||
// reserve R32: EDI, EBX,
|
||||
// R16: DI, BX,
|
||||
// R8: DH, BH,
|
||||
// R8: BH, BL
|
||||
// RFP: FP5, FP6
|
||||
reserved_.push_back(19); /* EDI */
|
||||
reserved_.push_back(17); /* EBX */
|
||||
reserved_.push_back(12); /* DI */
|
||||
reserved_.push_back( 7); /* BX */
|
||||
reserved_.push_back(11); /* DH */
|
||||
reserved_.push_back( 4); /* BH */
|
||||
reserved_.push_back( 5); /* BL */
|
||||
reserved_.push_back(28); /* FP5 */
|
||||
reserved_.push_back(29); /* FP6 */
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user