Explorar o código

* Fix special register numbers

git-svn-id: trunk@14812 -
pierre %!s(int64=15) %!d(string=hai) anos
pai
achega
fdc3e9dd6f
Modificáronse 3 ficheiros con 34 adicións e 15 borrados
  1. 5 5
      compiler/sparc/rspdwrf.inc
  2. 5 5
      compiler/sparc/rspstab.inc
  3. 24 5
      compiler/sparc/spreg.dat

+ 5 - 5
compiler/sparc/rspdwrf.inc

@@ -98,13 +98,13 @@
 32,
 32,
 32,
 32,
 32,
 32,
-64,
+70,
 65,
 65,
-64,
+71,
 65,
 65,
-64,
-64,
-64,
+65,
+67,
+66,
 64,
 64,
 32,
 32,
 32,
 32,

+ 5 - 5
compiler/sparc/rspstab.inc

@@ -98,13 +98,13 @@
 32,
 32,
 32,
 32,
 32,
 32,
-64,
+70,
 65,
 65,
-64,
+71,
 65,
 65,
-64,
-64,
-64,
+65,
+67,
+66,
 64,
 64,
 32,
 32,
 32,
 32,

+ 24 - 5
compiler/sparc/spreg.dat

@@ -74,6 +74,25 @@ F28,$02,$06,$1c,%f28,60,60
 F29,$02,$06,$1d,%f29,61,61
 F29,$02,$06,$1d,%f29,61,61
 F30,$02,$06,$1e,%f30,62,62
 F30,$02,$06,$1e,%f30,62,62
 F31,$02,$06,$1f,%f31,63,63
 F31,$02,$06,$1f,%f31,63,63
+; Float registers, double use
+; Not enabled for now Pierre
+; D0,$02,$07,$00,%d0,72,72
+; D2,$02,$07,$02,%d2,73,73
+; D4,$02,$07,$04,%d4,74,74
+; D6,$02,$07,$06,%d6,75,75
+; D8,$02,$07,$08,%d8,76,76
+; D10,$02,$07,$0a,%d10,77,77
+; D12,$02,$07,$0c,%d12,78,78
+; D14,$02,$07,$0e,%d14,79,79
+; D16,$02,$07,$10,%d16,80,80
+; D18,$02,$07,$12,%d18,81,81
+; D20,$02,$07,$14,%d20,82,82
+; D22,$02,$07,$16,%d22,83,83
+; D24,$02,$07,$18,%d24,84,84
+; D26,$02,$07,$1a,%d26,85,85
+; D28,$02,$07,$1c,%d28,86,86
+; D30,$02,$07,$1e,%d30,87,87
+
 
 
 ; Coprocessor registers
 ; Coprocessor registers
 C0,$03,$00,$00,%c0,32,32
 C0,$03,$00,$00,%c0,32,32
@@ -110,13 +129,13 @@ C30,$03,$00,$1e,%c30,32,32
 C31,$03,$00,$1f,%c31,32,32
 C31,$03,$00,$1f,%c31,32,32
 
 
 ; Special registers
 ; Special registers
-FSR,$05,$00,$00,%fsr,64,64
+FSR,$05,$00,$00,%fsr,70,70
 FQ,$05,$00,$01,%fq,65,65
 FQ,$05,$00,$01,%fq,65,65
-CSR,$05,$00,$02,%csr,64,64
+CSR,$05,$00,$02,%csr,71,71
 CQ,$05,$00,$03,%cq,65,65
 CQ,$05,$00,$03,%cq,65,65
-PSR,$05,$00,$04,%psr,64,64
-TBR,$05,$00,$05,%tbr,64,64
-WIM,$05,$00,$06,%wim,64,64
+PSR,$05,$00,$04,%psr,65,65
+TBR,$05,$00,$05,%tbr,67,67
+WIM,$05,$00,$06,%wim,66,66
 Y,$05,$00,$07,%y,64,64
 Y,$05,$00,$07,%y,64,64
 
 
 ; Ancillary State Registers
 ; Ancillary State Registers