Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
llvm-epi-0.8
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Roger Ferrer
llvm-epi-0.8
Commits
299fa1b1
Commit
299fa1b1
authored
20 years ago
by
Misha Brukman
Browse files
Options
Downloads
Patches
Plain Diff
* Allow more registers to be allocated from the general register pool
* Define the condition register class llvm-svn: 14510
parent
fee5a22f
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
llvm/lib/Target/PowerPC/PowerPCRegisterInfo.td
+8
-6
8 additions, 6 deletions
llvm/lib/Target/PowerPC/PowerPCRegisterInfo.td
with
8 additions
and
6 deletions
llvm/lib/Target/PowerPC/PowerPCRegisterInfo.td
+
8
−
6
View file @
299fa1b1
...
@@ -72,14 +72,15 @@ def CTR : SPR<3>;
...
@@ -72,14 +72,15 @@ def CTR : SPR<3>;
def TBL : SPR<4>;
def TBL : SPR<4>;
def TBU : SPR<5>;
def TBU : SPR<5>;
/// Register classes: one for floats and another for non-floats.
/// Register classes
def GPRC : RegisterClass<i32, 4, [R13, R14, R15, R16, R17, R18, R19, R20, R21,
def GPRC :
R22, R23, R24, R25, R26, R27, R28, R29, R30,
RegisterClass<i32, 4,
R31, R0, R1, R2, R3, R4, R5, R6, R7,
[R0, R11, R12, R13, R14, R15, R16, R17, R18, R19, R20, R21, R22, R23, R24,
R8, R9, R10, R11, R12]> {
R25, R26, R27, R28, R29, R30, R31, R1, R2, R3, R4, R5, R6, R7, R8, R9, R10]>
{
let Methods = [{
let Methods = [{
iterator allocation_order_end(MachineFunction &MF) const {
iterator allocation_order_end(MachineFunction &MF) const {
return end()-
13
; // do not allocate r
0
-r1
2
return end()-
9
; // do not allocate r
1
-r1
0
}
}
}];
}];
}
}
...
@@ -88,3 +89,4 @@ def FPRC : RegisterClass<f64, 8, [F0, F1, F2, F3, F4, F5, F6, F7,
...
@@ -88,3 +89,4 @@ def FPRC : RegisterClass<f64, 8, [F0, F1, F2, F3, F4, F5, F6, F7,
F8, F9, F10, F11, F12, F13, F14, F15, F16, F17, F18, F19, F20, F21,
F8, F9, F10, F11, F12, F13, F14, F15, F16, F17, F18, F19, F20, F21,
F22, F23, F24, F25, F26, F27, F28, F29, F30, F31]>;
F22, F23, F24, F25, F26, F27, F28, F29, F30, F31]>;
def CRRC : RegisterClass<i4, 4, [CR0, CR1, CR2, CR3, CR4, CR5, CR6, CR7]>;
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment