Browse Source

+ FPCR, FPSR and TPIDR registers

git-svn-id: trunk@29878 -
Jonas Maebe 10 years ago
parent
commit
9c55fa6f6c

+ 3 - 1
compiler/aarch64/a64reg.dat

@@ -240,4 +240,6 @@ D31,$04,$0a,$1F,d31,31,31
 Q31,$04,$05,$1F,q31,31,31
 
 NZCV,$05,$00,$00,nzcv,0,0
-
+FPCR,$05,$00,$01,fpcr,0,0
+FPSR,$05,$00,$02,fpsr,0,0
+TPIDR_EL0,$05,$00,$03,tpidr_el0,0,0

+ 3 - 0
compiler/aarch64/ra64con.inc

@@ -227,3 +227,6 @@ NR_S31 = tregister($0409001F);
 NR_D31 = tregister($040a001F);
 NR_Q31 = tregister($0405001F);
 NR_NZCV = tregister($05000000);
+NR_FPCR = tregister($05000001);
+NR_FPSR = tregister($05000002);
+NR_TPIDR_EL0 = tregister($05000003);

+ 3 - 0
compiler/aarch64/ra64dwa.inc

@@ -226,4 +226,7 @@
 31,
 31,
 31,
+0,
+0,
+0,
 0

+ 1 - 1
compiler/aarch64/ra64nor.inc

@@ -1,2 +1,2 @@
 { don't edit, this file is generated from a64reg.dat }
-228
+231

+ 4 - 1
compiler/aarch64/ra64num.inc

@@ -226,4 +226,7 @@ tregister($0403001F),
 tregister($0409001F),
 tregister($040a001F),
 tregister($0405001F),
-tregister($05000000)
+tregister($05000000),
+tregister($05000001),
+tregister($05000002),
+tregister($05000003)

+ 4 - 1
compiler/aarch64/ra64rni.inc

@@ -226,4 +226,7 @@
 215,
 220,
 225,
-227
+227,
+228,
+229,
+230

+ 3 - 0
compiler/aarch64/ra64sri.inc

@@ -64,6 +64,8 @@
 105,
 110,
 115,
+228,
+229,
 68,
 73,
 118,
@@ -162,6 +164,7 @@
 109,
 114,
 66,
+230,
 1,
 3,
 21,

+ 3 - 0
compiler/aarch64/ra64sta.inc

@@ -226,4 +226,7 @@
 31,
 31,
 31,
+0,
+0,
+0,
 0

+ 4 - 1
compiler/aarch64/ra64std.inc

@@ -226,4 +226,7 @@
 's31',
 'd31',
 'q31',
-'nzcv'
+'nzcv',
+'fpcr',
+'fpsr',
+'tpidr_el0'

+ 3 - 0
compiler/aarch64/ra64sup.inc

@@ -227,3 +227,6 @@ RS_S31 = $1F;
 RS_D31 = $1F;
 RS_Q31 = $1F;
 RS_NZCV = $00;
+RS_FPCR = $01;
+RS_FPSR = $02;
+RS_TPIDR_EL0 = $03;