diff jvmci/jdk.vm.ci.sparc/src/jdk/vm/ci/sparc/SPARC.java @ 22688:ef7d87db544a

Remove unused reference map index.
author Roland Schatz <roland.schatz@oracle.com>
date Fri, 16 Oct 2015 11:12:34 +0200
parents 2935e7fbd941
children 9e1235406b59
line wrap: on
line diff
--- a/jvmci/jdk.vm.ci.sparc/src/jdk/vm/ci/sparc/SPARC.java	Fri Oct 16 00:16:51 2015 +0200
+++ b/jvmci/jdk.vm.ci.sparc/src/jdk/vm/ci/sparc/SPARC.java	Fri Oct 16 11:12:34 2015 +0200
@@ -40,17 +40,10 @@
  */
 public class SPARC extends Architecture {
 
-    private static final int CPU_REGISTER_COUNT = 32;
-    /**
-     * The upper half registers are counted as single precision even though registers d32..d62 are
-     * not accessible with single precision instructions.
-     */
-    private static final int FPU_REGISTER_COUNT = 64;
-
     public static final RegisterCategory CPU = new RegisterCategory("CPU");
-    public static final RegisterCategory FPUs = new RegisterCategory("FPUs", CPU_REGISTER_COUNT);
-    public static final RegisterCategory FPUd = new RegisterCategory("FPUd", CPU_REGISTER_COUNT);
-    public static final RegisterCategory FPUq = new RegisterCategory("FPUq", CPU_REGISTER_COUNT);
+    public static final RegisterCategory FPUs = new RegisterCategory("FPUs");
+    public static final RegisterCategory FPUd = new RegisterCategory("FPUd");
+    public static final RegisterCategory FPUq = new RegisterCategory("FPUq");
 
     // General purpose registers
     public static final Register g0 = new Register(0, 0, "g0", CPU);
@@ -250,7 +243,7 @@
     public final Set<CPUFeature> features;
 
     public SPARC(Set<CPUFeature> features) {
-        super("SPARC", SPARCKind.XWORD, BIG_ENDIAN, false, allRegisters, LOAD_LOAD | LOAD_STORE | STORE_STORE, 1, CPU_REGISTER_COUNT + FPU_REGISTER_COUNT, 8);
+        super("SPARC", SPARCKind.XWORD, BIG_ENDIAN, false, allRegisters, LOAD_LOAD | LOAD_STORE | STORE_STORE, 1, 8);
         this.features = features;
     }