Home | History | Annotate | Download | only in autohvx
      1 ; RUN: llc -march=hexagon < %s | FileCheck %s
      2 
      3 ; CHECK-LABEL: test_0000
      4 ; CHECK-DAG: vdelta
      5 ; CHECK-DAG: vdelta
      6 ; CHECK-DAG: vdelta
      7 ; CHECK-DAG: vdelta
      8 ; CHECK-DAG: vmux
      9 ; CHECK-DAG: vmux
     10 define <128 x i8> @test_0000(<128 x i8> %v0) #0 {
     11   %p = shufflevector <128 x i8> %v0, <128 x i8> undef, <128 x i32><i32 89, i32 94, i32 119, i32 64, i32 85, i32 34, i32 91, i32 60, i32 33, i32 102, i32 79, i32 88, i32 13, i32 26, i32 35, i32 68, i32 48, i32 81, i32 39, i32 48, i32 48, i32 81, i32 106, i32 106, i32 81, i32 106, i32 76, i32 81, i32 106, i32 106, i32 76, i32 61, i32 81, i32 81, i32 82, i32 81, i32 115, i32 6, i32 61, i32 76, i32 81, i32 81, i32 82, i32 81, i32 82, i32 115, i32 82, i32 115, i32 68, i32 68, i32 85, i32 68, i32 67, i32 67, i32 68, i32 1, i32 82, i32 1, i32 82, i32 1, i32 67, i32 67, i32 67, i32 67, i32 9, i32 106, i32 68, i32 9, i32 68, i32 87, i32 106, i32 87, i32 79, i32 79, i32 126, i32 126, i32 32, i32 35, i32 35, i32 35, i32 79, i32 82, i32 79, i32 104, i32 104, i32 117, i32 79, i32 104, i32 110, i32 117, i32 79, i32 110, i32 117, i32 117, i32 117, i32 110, i32 24, i32 24, i32 24, i32 33, i32 63, i32 28, i32 63, i32 63, i32 119, i32 74, i32 68, i32 33, i32 118, i32 33, i32 112, i32 33, i32 83, i32 104, i32 83, i32 70, i32 58, i32 58, i32 49, i32 49, i32 77, i32 104, i32 70, i32 70, i32 11, i32 11, i32 104, i32 11>
     12   ret <128 x i8> %p
     13 }
     14 
     15 ; CHECK-LABEL: test_0001
     16 ; CHECK-DAG: vdelta
     17 ; CHECK-DAG: vdelta
     18 ; CHECK-DAG: vdelta
     19 ; CHECK-DAG: vdelta
     20 ; CHECK-DAG: vmux
     21 ; CHECK-DAG: vmux
     22 define <128 x i8> @test_0001(<128 x i8> %v0) #0 {
     23   %p = shufflevector <128 x i8> %v0, <128 x i8> undef, <128 x i32><i32 122, i32 122, i32 12, i32 12, i32 93, i32 88, i32 115, i32 115, i32 88, i32 65, i32 88, i32 88, i32 115, i32 34, i32 65, i32 65, i32 92, i32 92, i32 82, i32 65, i32 82, i32 82, i32 82, i32 82, i32 92, i32 65, i32 92, i32 75, i32 65, i32 82, i32 82, i32 63, i32 95, i32 95, i32 114, i32 95, i32 95, i32 72, i32 72, i32 95, i32 16, i32 23, i32 65, i32 114, i32 65, i32 65, i32 35, i32 35, i32 102, i32 102, i32 36, i32 36, i32 23, i32 23, i32 57, i32 57, i32 93, i32 36, i32 93, i32 36, i32 102, i32 102, i32 102, i32 23, i32 95, i32 86, i32 86, i32 95, i32 19, i32 19, i32 19, i32 96, i32 95, i32 95, i32 72, i32 21, i32 94, i32 94, i32 36, i32 36, i32 94, i32 69, i32 19, i32 92, i32 34, i32 19, i32 19, i32 19, i32 94, i32 113, i32 113, i32 94, i32 123, i32 94, i32 120, i32 120, i32 115, i32 104, i32 104, i32 104, i32 95, i32 95, i32 104, i32 104, i32 17, i32 17, i32 74, i32 107, i32 29, i32 29, i32 95, i32 86, i32 71, i32 74, i32 77, i32 77, i32 91, i32 60, i32 60, i32 60, i32 69, i32 69, i32 14, i32 69, i32 14, i32 73, i32 14, i32 73>
     24   ret <128 x i8> %p
     25 }
     26 
     27 ; CHECK-LABEL: test_0002
     28 ; CHECK-DAG: vdelta
     29 ; CHECK-DAG: vdelta
     30 ; CHECK-DAG: vdelta
     31 ; CHECK-DAG: vdelta
     32 ; CHECK-DAG: vmux
     33 ; CHECK-DAG: vmux
     34 define <128 x i8> @test_0002(<128 x i8> %v0) #0 {
     35   %p = shufflevector <128 x i8> %v0, <128 x i8> undef, <128 x i32><i32 76, i32 73, i32 76, i32 87, i32 73, i32 76, i32 94, i32 73, i32 113, i32 113, i32 76, i32 76, i32 113, i32 113, i32 2, i32 2, i32 124, i32 124, i32 124, i32 37, i32 87, i32 124, i32 87, i32 87, i32 4, i32 123, i32 37, i32 2, i32 123, i32 2, i32 1, i32 2, i32 2, i32 2, i32 51, i32 51, i32 95, i32 95, i32 62, i32 117, i32 89, i32 89, i32 38, i32 38, i32 38, i32 38, i32 117, i32 38, i32 22, i32 109, i32 109, i32 109, i32 22, i32 22, i32 95, i32 22, i32 114, i32 114, i32 95, i32 114, i32 40, i32 40, i32 107, i32 114, i32 45, i32 45, i32 64, i32 35, i32 28, i32 28, i32 90, i32 90, i32 2, i32 2, i32 2, i32 2, i32 119, i32 119, i32 45, i32 64, i32 89, i32 89, i32 89, i32 89, i32 69, i32 69, i32 108, i32 63, i32 126, i32 91, i32 91, i32 91, i32 56, i32 56, i32 63, i32 56, i32 101, i32 84, i32 2, i32 103, i32 2, i32 103, i32 2, i32 97, i32 103, i32 103, i32 46, i32 46, i32 45, i32 84, i32 46, i32 46, i32 30, i32 30, i32 79, i32 88, i32 88, i32 73, i32 73, i32 88, i32 106, i32 106, i32 106, i32 73, i32 79, i32 106, i32 73, i32 73>
     36   ret <128 x i8> %p
     37 }
     38 
     39 ; CHECK-LABEL: test_0003
     40 ; CHECK-DAG: vdelta
     41 ; CHECK-DAG: vdelta
     42 ; CHECK-DAG: vdelta
     43 ; CHECK-DAG: vdelta
     44 ; CHECK-DAG: vmux
     45 ; CHECK-DAG: vmux
     46 define <128 x i8> @test_0003(<128 x i8> %v0) #0 {
     47   %p = shufflevector <128 x i8> %v0, <128 x i8> undef, <128 x i32><i32 101, i32 101, i32 71, i32 71, i32 58, i32 101, i32 43, i32 43, i32 71, i32 71, i32 56, i32 56, i32 116, i32 116, i32 125, i32 125, i32 30, i32 30, i32 56, i32 33, i32 87, i32 58, i32 125, i32 125, i32 64, i32 33, i32 33, i32 64, i32 38, i32 33, i32 38, i32 38, i32 77, i32 77, i32 77, i32 48, i32 59, i32 28, i32 77, i32 77, i32 79, i32 48, i32 79, i32 79, i32 62, i32 41, i32 48, i32 48, i32 86, i32 86, i32 86, i32 71, i32 56, i32 56, i32 99, i32 56, i32 113, i32 4, i32 74, i32 74, i32 59, i32 64, i32 62, i32 113, i32 14, i32 97, i32 55, i32 14, i32 3, i32 3, i32 125, i32 125, i32 91, i32 91, i32 91, i32 0, i32 86, i32 37, i32 108, i32 37, i32 82, i32 82, i32 24, i32 24, i32 57, i32 82, i32 57, i32 57, i32 0, i32 0, i32 30, i32 39, i32 30, i32 13, i32 91, i32 91, i32 30, i32 25, i32 25, i32 25, i32 25, i32 30, i32 25, i32 12, i32 24, i32 75, i32 30, i32 30, i32 39, i32 39, i32 39, i32 39, i32 98, i32 98, i32 79, i32 79, i32 93, i32 86, i32 79, i32 79, i32 30, i32 30, i32 85, i32 85, i32 30, i32 30, i32 40, i32 40>
     48   ret <128 x i8> %p
     49 }
     50 
     51 ; CHECK-LABEL: test_0004
     52 ; CHECK-DAG: vdelta
     53 ; CHECK-DAG: vdelta
     54 ; CHECK-DAG: vdelta
     55 ; CHECK-DAG: vdelta
     56 ; CHECK-DAG: vmux
     57 ; CHECK-DAG: vmux
     58 define <128 x i8> @test_0004(<128 x i8> %v0) #0 {
     59   %p = shufflevector <128 x i8> %v0, <128 x i8> undef, <128 x i32><i32 82, i32 9, i32 82, i32 82, i32 35, i32 102, i32 35, i32 84, i32 81, i32 81, i32 82, i32 81, i32 85, i32 82, i32 80, i32 80, i32 106, i32 106, i32 47, i32 47, i32 80, i32 85, i32 80, i32 51, i32 84, i32 125, i32 125, i32 84, i32 125, i32 125, i32 84, i32 84, i32 13, i32 13, i32 106, i32 106, i32 51, i32 44, i32 13, i32 13, i32 56, i32 56, i32 56, i32 56, i32 70, i32 85, i32 56, i32 56, i32 70, i32 51, i32 51, i32 51, i32 70, i32 70, i32 70, i32 70, i32 92, i32 92, i32 14, i32 14, i32 107, i32 92, i32 14, i32 14, i32 105, i32 105, i32 105, i32 105, i32 74, i32 74, i32 68, i32 68, i32 118, i32 118, i32 31, i32 118, i32 31, i32 31, i32 98, i32 98, i32 94, i32 94, i32 94, i32 94, i32 67, i32 12, i32 12, i32 67, i32 43, i32 24, i32 94, i32 81, i32 125, i32 125, i32 82, i32 125, i32 42, i32 42, i32 113, i32 113, i32 23, i32 42, i32 24, i32 24, i32 24, i32 24, i32 2, i32 45, i32 67, i32 67, i32 105, i32 105, i32 82, i32 45, i32 45, i32 82, i32 8, i32 8, i32 63, i32 63, i32 75, i32 75, i32 6, i32 6, i32 63, i32 8, i32 8, i32 63>
     60   ret <128 x i8> %p
     61 }
     62 
     63 ; CHECK-LABEL: test_0005
     64 ; CHECK-DAG: vdelta
     65 ; CHECK-DAG: vdelta
     66 ; CHECK-DAG: vdelta
     67 ; CHECK-DAG: vdelta
     68 ; CHECK-DAG: vmux
     69 ; CHECK-DAG: vmux
     70 define <128 x i8> @test_0005(<128 x i8> %v0) #0 {
     71   %p = shufflevector <128 x i8> %v0, <128 x i8> undef, <128 x i32><i32 22, i32 22, i32 22, i32 29, i32 72, i32 29, i32 72, i32 29, i32 67, i32 67, i32 97, i32 22, i32 22, i32 22, i32 39, i32 72, i32 97, i32 97, i32 97, i32 72, i32 70, i32 70, i32 72, i32 72, i32 78, i32 78, i32 78, i32 78, i32 27, i32 27, i32 27, i32 27, i32 27, i32 60, i32 29, i32 74, i32 64, i32 64, i32 27, i32 64, i32 84, i32 41, i32 74, i32 41, i32 46, i32 41, i32 51, i32 51, i32 67, i32 67, i32 67, i32 46, i32 97, i32 74, i32 97, i32 97, i32 29, i32 98, i32 98, i32 29, i32 76, i32 95, i32 98, i32 98, i32 25, i32 25, i32 42, i32 42, i32 80, i32 80, i32 42, i32 42, i32 50, i32 71, i32 71, i32 68, i32 33, i32 22, i32 71, i32 22, i32 50, i32 85, i32 115, i32 115, i32 25, i32 25, i32 6, i32 6, i32 108, i32 108, i32 108, i32 115, i32 50, i32 71, i32 108, i32 93, i32 81, i32 82, i32 81, i32 81, i32 91, i32 91, i32 81, i32 68, i32 81, i32 58, i32 58, i32 58, i32 102, i32 69, i32 69, i32 69, i32 48, i32 93, i32 48, i32 48, i32 81, i32 62, i32 48, i32 115, i32 81, i32 81, i32 118, i32 81, i32 118, i32 118, i32 118, i32 81>
     72   ret <128 x i8> %p
     73 }
     74 
     75 ; CHECK-LABEL: test_0006
     76 ; CHECK-DAG: vdelta
     77 ; CHECK-DAG: vdelta
     78 ; CHECK-DAG: vdelta
     79 ; CHECK-DAG: vdelta
     80 ; CHECK-DAG: vmux
     81 ; CHECK-DAG: vmux
     82 define <128 x i8> @test_0006(<128 x i8> %v0) #0 {
     83   %p = shufflevector <128 x i8> %v0, <128 x i8> undef, <128 x i32><i32 125, i32 125, i32 28, i32 28, i32 15, i32 26, i32 26, i32 15, i32 86, i32 86, i32 55, i32 55, i32 86, i32 86, i32 86, i32 55, i32 127, i32 127, i32 85, i32 85, i32 89, i32 89, i32 80, i32 107, i32 127, i32 24, i32 127, i32 34, i32 107, i32 107, i32 109, i32 109, i32 86, i32 33, i32 33, i32 4, i32 51, i32 10, i32 10, i32 10, i32 10, i32 10, i32 33, i32 10, i32 33, i32 33, i32 10, i32 33, i32 60, i32 51, i32 85, i32 60, i32 6, i32 85, i32 60, i32 85, i32 6, i32 6, i32 85, i32 24, i32 24, i32 24, i32 33, i32 33, i32 16, i32 16, i32 11, i32 16, i32 42, i32 101, i32 60, i32 101, i32 71, i32 94, i32 81, i32 94, i32 42, i32 101, i32 115, i32 115, i32 120, i32 95, i32 34, i32 34, i32 101, i32 20, i32 20, i32 20, i32 6, i32 6, i32 64, i32 64, i32 64, i32 64, i32 3, i32 6, i32 11, i32 11, i32 11, i32 11, i32 20, i32 20, i32 42, i32 42, i32 93, i32 112, i32 42, i32 93, i32 11, i32 76, i32 76, i32 76, i32 57, i32 38, i32 68, i32 111, i32 57, i32 112, i32 57, i32 57, i32 110, i32 1, i32 110, i32 110, i32 68, i32 3, i32 101, i32 101>
     84   ret <128 x i8> %p
     85 }
     86 
     87 ; CHECK-LABEL: test_0007
     88 ; CHECK-DAG: vdelta
     89 ; CHECK-DAG: vdelta
     90 ; CHECK-DAG: vdelta
     91 ; CHECK-DAG: vdelta
     92 ; CHECK-DAG: vmux
     93 ; CHECK-DAG: vmux
     94 define <128 x i8> @test_0007(<128 x i8> %v0) #0 {
     95   %p = shufflevector <128 x i8> %v0, <128 x i8> undef, <128 x i32><i32 106, i32 106, i32 106, i32 106, i32 80, i32 25, i32 25, i32 25, i32 119, i32 119, i32 119, i32 119, i32 28, i32 28, i32 77, i32 62, i32 108, i32 77, i32 77, i32 77, i32 108, i32 108, i32 77, i32 108, i32 36, i32 36, i32 25, i32 36, i32 15, i32 15, i32 15, i32 15, i32 65, i32 90, i32 104, i32 65, i32 60, i32 60, i32 123, i32 123, i32 65, i32 65, i32 111, i32 36, i32 111, i32 111, i32 65, i32 65, i32 65, i32 65, i32 50, i32 50, i32 65, i32 64, i32 64, i32 65, i32 125, i32 125, i32 60, i32 11, i32 14, i32 14, i32 60, i32 125, i32 108, i32 108, i32 109, i32 108, i32 112, i32 109, i32 95, i32 112, i32 55, i32 108, i32 55, i32 55, i32 26, i32 75, i32 26, i32 75, i32 54, i32 54, i32 40, i32 51, i32 109, i32 109, i32 108, i32 108, i32 21, i32 54, i32 108, i32 108, i32 55, i32 55, i32 54, i32 21, i32 30, i32 1, i32 30, i32 30, i32 1, i32 1, i32 1, i32 24, i32 2, i32 2, i32 24, i32 24, i32 55, i32 55, i32 13, i32 100, i32 24, i32 24, i32 24, i32 51, i32 54, i32 54, i32 51, i32 100, i32 17, i32 17, i32 55, i32 55, i32 108, i32 17, i32 51, i32 108>
     96   ret <128 x i8> %p
     97 }
     98 
     99 ; CHECK-LABEL: test_0008
    100 ; CHECK-DAG: vdelta
    101 ; CHECK-DAG: vdelta
    102 ; CHECK-DAG: vdelta
    103 ; CHECK-DAG: vdelta
    104 ; CHECK-DAG: vmux
    105 ; CHECK-DAG: vmux
    106 define <128 x i8> @test_0008(<128 x i8> %v0) #0 {
    107   %p = shufflevector <128 x i8> %v0, <128 x i8> undef, <128 x i32><i32 105, i32 105, i32 76, i32 76, i32 50, i32 50, i32 105, i32 50, i32 107, i32 107, i32 107, i32 107, i32 80, i32 80, i32 31, i32 31, i32 29, i32 78, i32 78, i32 29, i32 34, i32 34, i32 34, i32 29, i32 5, i32 90, i32 120, i32 5, i32 90, i32 89, i32 15, i32 90, i32 33, i32 33, i32 110, i32 87, i32 110, i32 125, i32 48, i32 48, i32 67, i32 70, i32 84, i32 84, i32 122, i32 122, i32 47, i32 48, i32 28, i32 28, i32 28, i32 28, i32 28, i32 47, i32 101, i32 28, i32 110, i32 110, i32 33, i32 33, i32 13, i32 13, i32 110, i32 13, i32 83, i32 74, i32 74, i32 74, i32 17, i32 64, i32 64, i32 64, i32 17, i32 17, i32 39, i32 39, i32 93, i32 116, i32 66, i32 66, i32 78, i32 78, i32 101, i32 101, i32 9, i32 9, i32 91, i32 100, i32 127, i32 24, i32 82, i32 17, i32 24, i32 24, i32 118, i32 118, i32 107, i32 107, i32 100, i32 100, i32 82, i32 17, i32 82, i32 17, i32 23, i32 48, i32 26, i32 26, i32 26, i32 17, i32 48, i32 48, i32 74, i32 61, i32 61, i32 61, i32 17, i32 22, i32 17, i32 24, i32 17, i32 22, i32 22, i32 22, i32 74, i32 74, i32 61, i32 61>
    108   ret <128 x i8> %p
    109 }
    110 
    111 ; CHECK-LABEL: test_0009
    112 ; CHECK-DAG: vdelta
    113 ; CHECK-DAG: vdelta
    114 ; CHECK-DAG: vdelta
    115 ; CHECK-DAG: vdelta
    116 ; CHECK-DAG: vmux
    117 ; CHECK-DAG: vmux
    118 define <128 x i8> @test_0009(<128 x i8> %v0) #0 {
    119   %p = shufflevector <128 x i8> %v0, <128 x i8> undef, <128 x i32><i32 120, i32 19, i32 25, i32 120, i32 25, i32 25, i32 71, i32 71, i32 110, i32 71, i32 25, i32 120, i32 117, i32 117, i32 59, i32 59, i32 100, i32 33, i32 33, i32 33, i32 33, i32 33, i32 15, i32 120, i32 41, i32 98, i32 41, i32 41, i32 120, i32 87, i32 87, i32 120, i32 61, i32 64, i32 6, i32 61, i32 64, i32 64, i32 27, i32 42, i32 2, i32 73, i32 2, i32 2, i32 61, i32 61, i32 4, i32 61, i32 19, i32 2, i32 5, i32 124, i32 2, i32 5, i32 80, i32 19, i32 2, i32 2, i32 2, i32 2, i32 86, i32 73, i32 103, i32 103, i32 86, i32 86, i32 103, i32 86, i32 86, i32 103, i32 52, i32 52, i32 52, i32 52, i32 2, i32 2, i32 73, i32 73, i32 72, i32 111, i32 30, i32 83, i32 13, i32 13, i32 83, i32 83, i32 13, i32 13, i32 70, i32 13, i32 13, i32 56, i32 83, i32 83, i32 83, i32 83, i32 88, i32 65, i32 18, i32 65, i32 103, i32 88, i32 103, i32 103, i32 122, i32 103, i32 21, i32 21, i32 52, i32 52, i32 65, i32 52, i32 63, i32 92, i32 92, i32 92, i32 0, i32 63, i32 0, i32 0, i32 109, i32 52, i32 63, i32 2, i32 2, i32 63, i32 2, i32 63>
    120   ret <128 x i8> %p
    121 }
    122 
    123 ; CHECK-LABEL: test_000a
    124 ; CHECK-DAG: vdelta
    125 ; CHECK-DAG: vdelta
    126 ; CHECK-DAG: vdelta
    127 ; CHECK-DAG: vdelta
    128 ; CHECK-DAG: vmux
    129 ; CHECK-DAG: vmux
    130 define <128 x i8> @test_000a(<128 x i8> %v0) #0 {
    131   %p = shufflevector <128 x i8> %v0, <128 x i8> undef, <128 x i32><i32 24, i32 24, i32 102, i32 102, i32 103, i32 103, i32 103, i32 116, i32 116, i32 103, i32 21, i32 21, i32 102, i32 102, i32 19, i32 116, i32 126, i32 109, i32 95, i32 100, i32 109, i32 126, i32 126, i32 126, i32 104, i32 104, i32 19, i32 19, i32 109, i32 126, i32 109, i32 109, i32 63, i32 94, i32 94, i32 94, i32 48, i32 48, i32 48, i32 48, i32 99, i32 68, i32 94, i32 77, i32 17, i32 17, i32 17, i32 17, i32 34, i32 63, i32 34, i32 34, i32 99, i32 94, i32 94, i32 99, i32 101, i32 94, i32 94, i32 94, i32 94, i32 25, i32 56, i32 63, i32 96, i32 97, i32 97, i32 96, i32 62, i32 19, i32 97, i32 97, i32 19, i32 19, i32 19, i32 19, i32 29, i32 29, i32 29, i32 29, i32 40, i32 40, i32 67, i32 40, i32 67, i32 40, i32 67, i32 46, i32 53, i32 53, i32 59, i32 26, i32 73, i32 73, i32 70, i32 59, i32 22, i32 43, i32 97, i32 97, i32 88, i32 37, i32 88, i32 88, i32 29, i32 29, i32 108, i32 108, i32 67, i32 67, i32 62, i32 105, i32 29, i32 29, i32 0, i32 29, i32 81, i32 108, i32 108, i32 81, i32 43, i32 108, i32 81, i32 98, i32 7, i32 22, i32 81, i32 81>
    132   ret <128 x i8> %p
    133 }
    134 
    135 ; CHECK-LABEL: test_000b
    136 ; CHECK-DAG: vdelta
    137 ; CHECK-DAG: vdelta
    138 ; CHECK-DAG: vdelta
    139 ; CHECK-DAG: vdelta
    140 ; CHECK-DAG: vmux
    141 ; CHECK-DAG: vmux
    142 define <128 x i8> @test_000b(<128 x i8> %v0) #0 {
    143   %p = shufflevector <128 x i8> %v0, <128 x i8> undef, <128 x i32><i32 100, i32 127, i32 98, i32 25, i32 98, i32 25, i32 127, i32 80, i32 28, i32 7, i32 7, i32 28, i32 67, i32 98, i32 67, i32 67, i32 25, i32 25, i32 119, i32 119, i32 100, i32 100, i32 78, i32 78, i32 113, i32 113, i32 80, i32 80, i32 78, i32 47, i32 78, i32 78, i32 100, i32 100, i32 100, i32 101, i32 104, i32 95, i32 101, i32 6, i32 50, i32 119, i32 109, i32 50, i32 97, i32 6, i32 6, i32 6, i32 12, i32 12, i32 53, i32 66, i32 53, i32 12, i32 123, i32 66, i32 66, i32 66, i32 66, i32 97, i32 66, i32 53, i32 7, i32 7, i32 70, i32 71, i32 70, i32 9, i32 71, i32 50, i32 50, i32 50, i32 17, i32 17, i32 17, i32 17, i32 17, i32 17, i32 10, i32 10, i32 65, i32 65, i32 65, i32 65, i32 15, i32 15, i32 5, i32 5, i32 52, i32 52, i32 52, i32 15, i32 13, i32 52, i32 13, i32 70, i32 96, i32 96, i32 71, i32 96, i32 71, i32 71, i32 126, i32 71, i32 11, i32 11, i32 92, i32 92, i32 11, i32 11, i32 105, i32 92, i32 49, i32 49, i32 122, i32 49, i32 122, i32 11, i32 122, i32 49, i32 92, i32 92, i32 35, i32 102, i32 125, i32 88, i32 122, i32 122>
    144   ret <128 x i8> %p
    145 }
    146 
    147 ; CHECK-LABEL: test_000c
    148 ; CHECK-DAG: vdelta
    149 ; CHECK-DAG: vdelta
    150 ; CHECK-DAG: vdelta
    151 ; CHECK-DAG: vdelta
    152 ; CHECK-DAG: vmux
    153 ; CHECK-DAG: vmux
    154 define <128 x i8> @test_000c(<128 x i8> %v0) #0 {
    155   %p = shufflevector <128 x i8> %v0, <128 x i8> undef, <128 x i32><i32 108, i32 85, i32 85, i32 108, i32 73, i32 73, i32 75, i32 108, i32 90, i32 99, i32 13, i32 90, i32 47, i32 126, i32 126, i32 73, i32 126, i32 5, i32 75, i32 120, i32 2, i32 2, i32 5, i32 4, i32 125, i32 125, i32 125, i32 126, i32 81, i32 81, i32 4, i32 47, i32 25, i32 25, i32 55, i32 55, i32 42, i32 42, i32 116, i32 53, i32 25, i32 25, i32 42, i32 25, i32 13, i32 80, i32 80, i32 13, i32 88, i32 88, i32 13, i32 13, i32 36, i32 91, i32 91, i32 36, i32 88, i32 88, i32 73, i32 73, i32 5, i32 118, i32 5, i32 118, i32 84, i32 125, i32 84, i32 125, i32 22, i32 125, i32 56, i32 56, i32 64, i32 64, i32 19, i32 19, i32 19, i32 46, i32 46, i32 46, i32 31, i32 31, i32 85, i32 126, i32 31, i32 31, i32 98, i32 85, i32 60, i32 60, i32 126, i32 77, i32 126, i32 23, i32 23, i32 23, i32 54, i32 54, i32 105, i32 54, i32 85, i32 85, i32 85, i32 85, i32 103, i32 103, i32 98, i32 103, i32 29, i32 64, i32 29, i32 29, i32 60, i32 60, i32 11, i32 102, i32 103, i32 103, i32 98, i32 29, i32 15, i32 60, i32 105, i32 102, i32 105, i32 102, i32 105, i32 105>
    156   ret <128 x i8> %p
    157 }
    158 
    159 ; CHECK-LABEL: test_000d
    160 ; CHECK-DAG: vdelta
    161 ; CHECK-DAG: vdelta
    162 ; CHECK-DAG: vdelta
    163 ; CHECK-DAG: vdelta
    164 ; CHECK-DAG: vmux
    165 ; CHECK-DAG: vmux
    166 define <128 x i8> @test_000d(<128 x i8> %v0) #0 {
    167   %p = shufflevector <128 x i8> %v0, <128 x i8> undef, <128 x i32><i32 24, i32 24, i32 24, i32 83, i32 70, i32 93, i32 70, i32 70, i32 37, i32 37, i32 37, i32 80, i32 98, i32 27, i32 68, i32 37, i32 68, i32 68, i32 54, i32 54, i32 27, i32 27, i32 54, i32 54, i32 79, i32 79, i32 89, i32 89, i32 89, i32 68, i32 68, i32 79, i32 108, i32 108, i32 127, i32 127, i32 127, i32 14, i32 127, i32 80, i32 73, i32 70, i32 73, i32 73, i32 122, i32 122, i32 7, i32 7, i32 111, i32 106, i32 49, i32 52, i32 54, i32 54, i32 8, i32 83, i32 52, i32 49, i32 106, i32 59, i32 59, i32 59, i32 32, i32 32, i32 40, i32 95, i32 95, i32 95, i32 53, i32 118, i32 95, i32 40, i32 64, i32 64, i32 71, i32 71, i32 50, i32 71, i32 50, i32 50, i32 53, i32 53, i32 118, i32 95, i32 16, i32 81, i32 16, i32 16, i32 81, i32 106, i32 106, i32 106, i32 106, i32 106, i32 100, i32 53, i32 71, i32 71, i32 109, i32 86, i32 66, i32 66, i32 109, i32 108, i32 66, i32 66, i32 19, i32 19, i32 19, i32 62, i32 105, i32 105, i32 66, i32 71, i32 64, i32 64, i32 66, i32 53, i32 66, i32 66, i32 88, i32 19, i32 61, i32 88, i32 26, i32 71, i32 71, i32 71>
    168   ret <128 x i8> %p
    169 }
    170 
    171 ; CHECK-LABEL: test_000e
    172 ; CHECK-DAG: vdelta
    173 ; CHECK-DAG: vdelta
    174 ; CHECK-DAG: vdelta
    175 ; CHECK-DAG: vdelta
    176 ; CHECK-DAG: vmux
    177 ; CHECK-DAG: vmux
    178 define <128 x i8> @test_000e(<128 x i8> %v0) #0 {
    179   %p = shufflevector <128 x i8> %v0, <128 x i8> undef, <128 x i32><i32 70, i32 70, i32 70, i32 70, i32 95, i32 95, i32 95, i32 95, i32 92, i32 92, i32 92, i32 92, i32 96, i32 96, i32 51, i32 98, i32 88, i32 49, i32 111, i32 88, i32 69, i32 69, i32 107, i32 107, i32 9, i32 96, i32 9, i32 54, i32 10, i32 10, i32 10, i32 87, i32 61, i32 61, i32 52, i32 61, i32 127, i32 127, i32 18, i32 18, i32 18, i32 18, i32 56, i32 97, i32 60, i32 11, i32 97, i32 86, i32 51, i32 51, i32 9, i32 66, i32 9, i32 9, i32 56, i32 56, i32 21, i32 56, i32 70, i32 70, i32 51, i32 51, i32 97, i32 97, i32 36, i32 36, i32 10, i32 67, i32 10, i32 67, i32 36, i32 1, i32 104, i32 21, i32 21, i32 10, i32 124, i32 124, i32 118, i32 103, i32 113, i32 124, i32 91, i32 34, i32 91, i32 34, i32 34, i32 34, i32 34, i32 79, i32 79, i32 124, i32 113, i32 113, i32 124, i32 124, i32 124, i32 124, i32 124, i32 21, i32 124, i32 21, i32 21, i32 21, i32 78, i32 78, i32 81, i32 78, i32 79, i32 78, i32 21, i32 21, i32 123, i32 78, i32 80, i32 123, i32 123, i32 10, i32 10, i32 10, i32 80, i32 80, i32 80, i32 33, i32 12, i32 103, i32 18, i32 33>
    180   ret <128 x i8> %p
    181 }
    182 
    183 ; CHECK-LABEL: test_000f
    184 ; CHECK-DAG: vdelta
    185 ; CHECK-DAG: vdelta
    186 ; CHECK-DAG: vdelta
    187 ; CHECK-DAG: vdelta
    188 ; CHECK-DAG: vmux
    189 ; CHECK-DAG: vmux
    190 define <128 x i8> @test_000f(<128 x i8> %v0) #0 {
    191   %p = shufflevector <128 x i8> %v0, <128 x i8> undef, <128 x i32><i32 29, i32 0, i32 75, i32 82, i32 0, i32 75, i32 75, i32 75, i32 29, i32 29, i32 82, i32 103, i32 75, i32 70, i32 75, i32 44, i32 33, i32 33, i32 33, i32 33, i32 104, i32 83, i32 54, i32 54, i32 10, i32 10, i32 104, i32 104, i32 92, i32 92, i32 92, i32 92, i32 104, i32 104, i32 54, i32 54, i32 90, i32 90, i32 90, i32 90, i32 41, i32 41, i32 83, i32 44, i32 34, i32 103, i32 104, i32 104, i32 31, i32 31, i32 1, i32 82, i32 92, i32 92, i32 82, i32 59, i32 59, i32 59, i32 100, i32 100, i32 77, i32 77, i32 100, i32 59, i32 67, i32 68, i32 68, i32 13, i32 13, i32 13, i32 127, i32 22, i32 106, i32 106, i32 127, i32 127, i32 37, i32 37, i32 68, i32 68, i32 107, i32 107, i32 53, i32 53, i32 50, i32 107, i32 50, i32 50, i32 107, i32 70, i32 53, i32 53, i32 47, i32 68, i32 47, i32 68, i32 57, i32 57, i32 87, i32 87, i32 87, i32 72, i32 72, i32 72, i32 83, i32 32, i32 83, i32 62, i32 32, i32 85, i32 32, i32 83, i32 116, i32 116, i32 116, i32 57, i32 95, i32 38, i32 95, i32 95, i32 98, i32 98, i32 95, i32 95, i32 95, i32 95, i32 98, i32 95>
    192   ret <128 x i8> %p
    193 }
    194 
    195 attributes #0 = { nounwind readnone "target-cpu"="hexagonv60" "target-features"="+hvx,+hvx-length64b" }
    196