changeset 17110:fe935dbf9863

Remove unused imports
author Stefan Anzinger <stefan.anzinger@oracle.com>
date Mon, 15 Sep 2014 20:06:40 -0700
parents 1a92d77a851b
children 881fa8b6ca9d
files graal/com.oracle.graal.lir.sparc/src/com/oracle/graal/lir/sparc/SPARCArrayEqualsOp.java
diffstat 1 files changed, 2 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/graal/com.oracle.graal.lir.sparc/src/com/oracle/graal/lir/sparc/SPARCArrayEqualsOp.java	Mon Sep 15 19:22:02 2014 -0700
+++ b/graal/com.oracle.graal.lir.sparc/src/com/oracle/graal/lir/sparc/SPARCArrayEqualsOp.java	Mon Sep 15 20:06:40 2014 -0700
@@ -43,8 +43,7 @@
 import com.oracle.graal.lir.gen.*;
 
 /**
- * Emits code which compares two arrays of the same length. If the CPU supports any vector
- * instructions specialized code is emitted to leverage these instructions.
+ * Emits code which compares two arrays of the same length.
  */
 @Opcode("ARRAY_EQUALS")
 public class SPARCArrayEqualsOp extends SPARCLIRInstruction {
@@ -142,7 +141,7 @@
         new Add(array2, length, array2).emit(masm);
         new Sub(g0, length, length).emit(masm);
 
-        // Align the main loop
+        // Load the first value from array 1 (Later done in back branch delay-slot)
         new Ldx(new SPARCAddress(array1, length), tempReg1).emit(masm);
         masm.bind(loop);
         new Ldx(new SPARCAddress(array2, length), tempReg2).emit(masm);