Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
swiftshader
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chen Yisong
swiftshader
Commits
69a85b14
Commit
69a85b14
authored
Oct 09, 2015
by
Jim Stichnoth
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Subzero: Change aliases_init --> alias_init for consistency.
BUG= none R=jpp@chromium.org Review URL:
https://codereview.chromium.org/1392403002
.
parent
a00b1f7f
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
9 deletions
+8
-9
IceInstARM32.def
src/IceInstARM32.def
+8
-9
No files found.
src/IceInstARM32.def
View file @
69a85b14
...
@@ -46,7 +46,7 @@
...
@@ -46,7 +46,7 @@
#define REGARM32_GPR_TABLE \
#define REGARM32_GPR_TABLE \
/* val, encode, name, scratch, preserved, stackptr, frameptr, \
/* val, encode, name, scratch, preserved, stackptr, frameptr, \
isInt, isI64Pair, isFP32, isFP64, isVec128, alias
es_init */
\
isInt, isI64Pair, isFP32, isFP64, isVec128, alias
_init */
\
X(Reg_r0, 0, "r0", 1, 0, 0, 0, 1, 0, 0, 0, 0, \
X(Reg_r0, 0, "r0", 1, 0, 0, 0, 1, 0, 0, 0, 0, \
ALIASES2(Reg_r0, Reg_r0r1)) \
ALIASES2(Reg_r0, Reg_r0r1)) \
X(Reg_r1, 1, "r1", 1, 0, 0, 0, 1, 0, 0, 0, 0, \
X(Reg_r1, 1, "r1", 1, 0, 0, 0, 1, 0, 0, 0, 0, \
...
@@ -80,7 +80,7 @@
...
@@ -80,7 +80,7 @@
X(Reg_pc, 15, "pc", 0, 0, 0, 0, 0, 0, 0, 0, 0, \
X(Reg_pc, 15, "pc", 0, 0, 0, 0, 0, 0, 0, 0, 0, \
ALIASES1(Reg_pc))
ALIASES1(Reg_pc))
//#define X(val, encode, name, scratch, preserved, stackptr, frameptr,
//#define X(val, encode, name, scratch, preserved, stackptr, frameptr,
// isInt, isI64Pair, isFP32, isFP64, isVec128, alias
es
_init)
// isInt, isI64Pair, isFP32, isFP64, isVec128, alias_init)
// The following defines a table with the available pairs of consecutive i32
// The following defines a table with the available pairs of consecutive i32
// GPRs starting at an even GPR that is not r14. Those are used to hold i64
// GPRs starting at an even GPR that is not r14. Those are used to hold i64
...
@@ -89,7 +89,7 @@
...
@@ -89,7 +89,7 @@
// allocator.
// allocator.
#define REGARM32_I64PAIR_TABLE \
#define REGARM32_I64PAIR_TABLE \
/* val, encode, name, scratch, preserved, stackptr, frameptr, \
/* val, encode, name, scratch, preserved, stackptr, frameptr, \
isInt, isI64Pair, isFP32, isFP64, isVec128, alias
es_init */
\
isInt, isI64Pair, isFP32, isFP64, isVec128, alias
_init */
\
X(Reg_r0r1, 0, "r0, r1", 1, 0, 0, 0, 0, 1, 0, 0, 0, \
X(Reg_r0r1, 0, "r0, r1", 1, 0, 0, 0, 0, 1, 0, 0, 0, \
ALIASES3(Reg_r0, Reg_r1, Reg_r0r1)) \
ALIASES3(Reg_r0, Reg_r1, Reg_r0r1)) \
X(Reg_r2r3, 2, "r2, r3", 1, 0, 0, 0, 0, 1, 0, 0, 0, \
X(Reg_r2r3, 2, "r2, r3", 1, 0, 0, 0, 0, 1, 0, 0, 0, \
...
@@ -103,7 +103,7 @@
...
@@ -103,7 +103,7 @@
X(Reg_r10fp, 10, "r10, fp", 0, 1, 0, 0, 0, 0, 0, 0, 0, \
X(Reg_r10fp, 10, "r10, fp", 0, 1, 0, 0, 0, 0, 0, 0, 0, \
ALIASES3(Reg_r10, Reg_fp, Reg_r10fp)) \
ALIASES3(Reg_r10, Reg_fp, Reg_r10fp)) \
//#define X(val, encode, name, scratch, preserved, stackptr, frameptr,
//#define X(val, encode, name, scratch, preserved, stackptr, frameptr,
// isInt, isI64Pair, isFP32, isFP64, isVec128, alias
es
_init)
// isInt, isI64Pair, isFP32, isFP64, isVec128, alias_init)
// S registers 0-15 are scratch, but 16-31 are preserved.
// S registers 0-15 are scratch, but 16-31 are preserved.
// Regenerate this with the following python script:
// Regenerate this with the following python script:
...
@@ -123,7 +123,7 @@
...
@@ -123,7 +123,7 @@
//
//
#define REGARM32_FP32_TABLE \
#define REGARM32_FP32_TABLE \
/* val, encode, name, scratch, preserved, stackptr, frameptr, \
/* val, encode, name, scratch, preserved, stackptr, frameptr, \
isInt, isI64Pair, isFP32, isFP64, isVec128, alias
es_init */
\
isInt, isI64Pair, isFP32, isFP64, isVec128, alias
_init */
\
X(Reg_s0 , 0 , "s0" , 1, 0, 0, 0, 0, 0, 1, 0, 0, \
X(Reg_s0 , 0 , "s0" , 1, 0, 0, 0, 0, 0, 1, 0, 0, \
ALIASES3(Reg_s0 , Reg_d0 , Reg_q0)) \
ALIASES3(Reg_s0 , Reg_d0 , Reg_q0)) \
X(Reg_s1 , 1 , "s1" , 1, 0, 0, 0, 0, 0, 1, 0, 0, \
X(Reg_s1 , 1 , "s1" , 1, 0, 0, 0, 0, 0, 1, 0, 0, \
...
@@ -189,7 +189,7 @@
...
@@ -189,7 +189,7 @@
X(Reg_s31, 31, "s31", 0, 1, 0, 0, 0, 0, 1, 0, 0, \
X(Reg_s31, 31, "s31", 0, 1, 0, 0, 0, 0, 1, 0, 0, \
ALIASES3(Reg_s31, Reg_d15, Reg_q7))
ALIASES3(Reg_s31, Reg_d15, Reg_q7))
//#define X(val, encode, name, scratch, preserved, stackptr, frameptr,
//#define X(val, encode, name, scratch, preserved, stackptr, frameptr,
// isInt, isI64Pair, isFP32,isFP64, isVec128, alias
es
_init)
// isInt, isI64Pair, isFP32,isFP64, isVec128, alias_init)
// D registers 0-7 are scratch, 8-15 are preserved, and 16-31 are also scratch
// D registers 0-7 are scratch, 8-15 are preserved, and 16-31 are also scratch
// (if supported by the D32 feature vs D16). D registers are defined in reverse
// (if supported by the D32 feature vs D16). D registers are defined in reverse
...
@@ -222,7 +222,7 @@
...
@@ -222,7 +222,7 @@
//
//
#define REGARM32_FP64_TABLE \
#define REGARM32_FP64_TABLE \
/* val, encode, name, scratch, preserved, stackptr, frameptr, \
/* val, encode, name, scratch, preserved, stackptr, frameptr, \
isInt, isI64Pair, isFP32, isFP64, isVec128, alias
es_init */
\
isInt, isI64Pair, isFP32, isFP64, isVec128, alias
_init */
\
X(Reg_d31, 31, "d31", 1, 0, 0, 0, 0, 0, 0, 1, 0, \
X(Reg_d31, 31, "d31", 1, 0, 0, 0, 0, 0, 0, 1, 0, \
ALIASES2(Reg_d31, Reg_q15)) \
ALIASES2(Reg_d31, Reg_q15)) \
X(Reg_d30, 30, "d30", 1, 0, 0, 0, 0, 0, 0, 1, 0, \
X(Reg_d30, 30, "d30", 1, 0, 0, 0, 0, 0, 0, 1, 0, \
...
@@ -288,7 +288,7 @@
...
@@ -288,7 +288,7 @@
X(Reg_d0 , 0 , "d0", 1, 0, 0, 0, 0, 0, 0, 1, 0, \
X(Reg_d0 , 0 , "d0", 1, 0, 0, 0, 0, 0, 0, 1, 0, \
ALIASES4(Reg_s0 , Reg_s1 , Reg_d0 , Reg_q0))
ALIASES4(Reg_s0 , Reg_s1 , Reg_d0 , Reg_q0))
//#define X(val, encode, name, scratch, preserved, stackptr, frameptr,
//#define X(val, encode, name, scratch, preserved, stackptr, frameptr,
// isInt, isI64Pair, isFP32, isFP64, isVec128, alias
es
_init)
// isInt, isI64Pair, isFP32, isFP64, isVec128, alias_init)
// Q registers 0-3 are scratch, 4-7 are preserved, and 8-15 are also scratch
// Q registers 0-3 are scratch, 4-7 are preserved, and 8-15 are also scratch
// (if supported by the D32 feature). Q registers are defined in reverse order
// (if supported by the D32 feature). Q registers are defined in reverse order
...
@@ -357,7 +357,6 @@
...
@@ -357,7 +357,6 @@
ALIASES7(Reg_s0 , Reg_s1 , Reg_s2 , Reg_s3 , Reg_d0 , Reg_d1 , Reg_q0))
ALIASES7(Reg_s0 , Reg_s1 , Reg_s2 , Reg_s3 , Reg_d0 , Reg_d1 , Reg_q0))
//#define X(val, encode, name, scratch, preserved, stackptr, frameptr,
//#define X(val, encode, name, scratch, preserved, stackptr, frameptr,
// isInt, isI64Pair, isFP32, isFP64, isVec128, alias_init)
// isInt, isI64Pair, isFP32, isFP64, isVec128, alias_init)
#undef ALIASES
// We also provide a combined table, so that there is a namespace where all of
// We also provide a combined table, so that there is a namespace where all of
// the registers are considered and have distinct numberings. This is in
// the registers are considered and have distinct numberings. This is in
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment