< prev index next >

test/hotspot/jtreg/compiler/loopopts/superword/TestAlignVector.java

Print this page
*** 399,10 ***
--- 399,11 ---
  
      @Test
      @IR(counts = {IRNode.LOAD_VECTOR_B, "> 0",
                    IRNode.AND_VB, "> 0",
                    IRNode.STORE_VECTOR, "> 0"},
+         applyIf = {"UseCompactObjectHeaders", "false"},
          applyIfPlatform = {"64-bit", "true"},
          applyIfCPUFeatureOr = {"avx2", "true", "asimd", "true"})
      static Object[] test1(byte[] a, byte[] b, byte mask) {
          for (int i = 0; i < RANGE; i+=8) {
              // Safe to vectorize with AlignVector

*** 707,11 ***
  
      @Test
      @IR(counts = {IRNode.LOAD_VECTOR_S, IRNode.VECTOR_SIZE_4, "> 0",
                    IRNode.AND_VS,        IRNode.VECTOR_SIZE_4, "> 0",
                    IRNode.STORE_VECTOR, "> 0"},
!         applyIf = {"MaxVectorSize", ">=16"},
          applyIfPlatform = {"64-bit", "true"},
          applyIfCPUFeatureOr = {"avx2", "true", "asimd", "true"})
      static Object[] test10d(short[] a, short[] b, short mask) {
          for (int i = 13; i < RANGE-16; i+=8) {
              // init + offset -> aligned
--- 708,11 ---
  
      @Test
      @IR(counts = {IRNode.LOAD_VECTOR_S, IRNode.VECTOR_SIZE_4, "> 0",
                    IRNode.AND_VS,        IRNode.VECTOR_SIZE_4, "> 0",
                    IRNode.STORE_VECTOR, "> 0"},
!         applyIfAnd = {"MaxVectorSize", ">=16", "UseCompactObjectHeaders", "false"},
          applyIfPlatform = {"64-bit", "true"},
          applyIfCPUFeatureOr = {"avx2", "true", "asimd", "true"})
      static Object[] test10d(short[] a, short[] b, short mask) {
          for (int i = 13; i < RANGE-16; i+=8) {
              // init + offset -> aligned

*** 1002,10 ***
--- 1003,11 ---
      @IR(counts = {IRNode.LOAD_VECTOR_B, "> 0",
                    IRNode.LOAD_VECTOR_I, "> 0",
                    IRNode.ADD_VB, "> 0",
                    IRNode.ADD_VI, "> 0",
                    IRNode.STORE_VECTOR, "> 0"},
+         applyIf = {"UseCompactObjectHeaders", "false"},
          applyIfPlatform = {"64-bit", "true"},
          applyIfCPUFeatureOr = {"avx2", "true", "asimd", "true"})
      static Object[] test13aIB(int[] a, byte[] b) {
          for (int i = 0; i < RANGE; i++) {
              a[i]++;

*** 1018,10 ***
--- 1020,11 ---
      @IR(counts = {IRNode.LOAD_VECTOR_I, "> 0",
                    IRNode.LOAD_VECTOR_S, "> 0",
                    IRNode.ADD_VI, "> 0",
                    IRNode.ADD_VS, "> 0",
                    IRNode.STORE_VECTOR, "> 0"},
+         applyIf = {"UseCompactObjectHeaders", "false"},
          applyIfPlatform = {"64-bit", "true"},
          applyIfCPUFeatureOr = {"avx2", "true", "asimd", "true"})
      static Object[] test13aIS(int[] a, short[] b) {
          for (int i = 0; i < RANGE; i++) {
              a[i]++;

*** 1038,10 ***
--- 1041,11 ---
                    IRNode.ADD_VB, "> 0",
                    IRNode.ADD_VS, "> 0",
                    IRNode.ADD_VI, "> 0",
                    IRNode.ADD_VL, "> 0",
                    IRNode.STORE_VECTOR, "> 0"},
+         applyIf = {"UseCompactObjectHeaders", "false"},
          applyIfPlatform = {"64-bit", "true"},
          applyIfCPUFeatureOr = {"avx2", "true", "asimd", "true"})
      static Object[] test13aBSIL(byte[] a, short[] b, int[] c, long[] d) {
          for (int i = 0; i < RANGE; i++) {
              a[i]++;

*** 1073,10 ***
--- 1077,11 ---
      @IR(counts = {IRNode.LOAD_VECTOR_B, "> 0",
                    IRNode.LOAD_VECTOR_I, "> 0",
                    IRNode.ADD_VB, "> 0",
                    IRNode.ADD_VI, "> 0",
                    IRNode.STORE_VECTOR, "> 0"},
+         applyIf = {"UseCompactObjectHeaders", "false"},
          applyIfPlatform = {"64-bit", "true"},
          applyIfCPUFeatureOr = {"avx2", "true", "asimd", "true"})
      static Object[] test13bIB(int[] a, byte[] b) {
          for (int i = 1; i < RANGE; i++) {
              a[i]++;

*** 1089,10 ***
--- 1094,11 ---
      @IR(counts = {IRNode.LOAD_VECTOR_I, "> 0",
                    IRNode.LOAD_VECTOR_S, "> 0",
                    IRNode.ADD_VI, "> 0",
                    IRNode.ADD_VS, "> 0",
                    IRNode.STORE_VECTOR, "> 0"},
+         applyIf = {"UseCompactObjectHeaders", "false"},
          applyIfPlatform = {"64-bit", "true"},
          applyIfCPUFeatureOr = {"avx2", "true", "asimd", "true"})
      static Object[] test13bIS(int[] a, short[] b) {
          for (int i = 1; i < RANGE; i++) {
              a[i]++;

*** 1109,10 ***
--- 1115,11 ---
                    IRNode.ADD_VB, "> 0",
                    IRNode.ADD_VS, "> 0",
                    IRNode.ADD_VI, "> 0",
                    IRNode.ADD_VL, "> 0",
                    IRNode.STORE_VECTOR, "> 0"},
+         applyIf = {"UseCompactObjectHeaders", "false"},
          applyIfPlatform = {"64-bit", "true"},
          applyIfCPUFeatureOr = {"avx2", "true", "asimd", "true"})
      static Object[] test13bBSIL(byte[] a, short[] b, int[] c, long[] d) {
          for (int i = 1; i < RANGE; i++) {
              a[i]++;
< prev index next >