< prev index next >

test/jdk/jdk/incubator/vector/gen-template.sh

Print this page

 59 reduction_scalar_max="Reduction-Scalar-Max-op"
 60 reduction_scalar_masked="Reduction-Scalar-Masked-op"
 61 reduction_scalar_min_masked="Reduction-Scalar-Masked-Min-op"
 62 reduction_scalar_max_masked="Reduction-Scalar-Masked-Max-op"
 63 reduction_op="Reduction-op"
 64 reduction_op_min="Reduction-Min-op"
 65 reduction_op_max="Reduction-Max-op"
 66 reduction_op_masked="Reduction-Masked-op"
 67 reduction_op_min_masked="Reduction-Masked-Min-op"
 68 reduction_op_max_masked="Reduction-Masked-Max-op"
 69 unary_math_template="Unary-op-math"
 70 binary_math_template="Binary-op-math"
 71 binary_math_broadcast_template="Binary-Broadcast-op-math"
 72 bool_reduction_scalar="BoolReduction-Scalar-op"
 73 bool_reduction_template="BoolReduction-op"
 74 with_op_template="With-Op"
 75 shift_template="Shift-op"
 76 shift_masked_template="Shift-Masked-op"
 77 get_template="Get-op"
 78 rearrange_template="Rearrange"

 79 broadcast_template="Broadcast"
 80 zero_template="Zero"
 81 slice_template="Slice-op"
 82 slice1_template="Slice-bop"
 83 slice1_masked_template="Slice-Masked-bop"
 84 unslice_template="Unslice-op"
 85 unslice1_template="Unslice-bop"
 86 unslice1_masked_template="Unslice-Masked-bop"
 87 miscellaneous_template="Miscellaneous"
 88 
 89 function replace_variables {
 90   local filename=$1
 91   local output=$2
 92   local kernel=$3
 93   local test=$4
 94   local op=$5
 95   local init=$6
 96   local guard=$7
 97   local masked=$8
 98   local op_name=$9

486 gen_compare_op "EQ+eq" "eq"
487 gen_compare_op "NE" "neq"
488 gen_compare_op "LE" "le"
489 gen_compare_op "GE" "ge"
490 
491 gen_compare_op "UNSIGNED_LT" "ult" "BITWISE"
492 gen_compare_op "UNSIGNED_GT" "ugt" "BITWISE"
493 gen_compare_op "UNSIGNED_LE" "ule" "BITWISE"
494 gen_compare_op "UNSIGNED_GE" "uge" "BITWISE"
495 
496 
497 gen_compare_bcst_op "LT" "<"
498 gen_compare_bcst_op "EQ" "=="
499 
500 # Blend.
501 gen_op_tmpl $blend "blend" ""
502 
503 # Rearrange
504 gen_op_tmpl $rearrange_template "rearrange" ""
505 



506 # Get
507 gen_get_op "lane" ""
508 
509 # Broadcast
510 gen_op_tmpl $broadcast_template "broadcast" ""
511 
512 # Zero
513 gen_op_tmpl $zero_template "zero" ""
514 
515 # Slice
516 gen_op_tmpl $slice_template "sliceUnary" ""
517 gen_op_tmpl $slice1_template "sliceBinary" ""
518 gen_op_tmpl $slice1_masked_template "slice" ""
519 
520 # Unslice
521 gen_op_tmpl $unslice_template "unsliceUnary" ""
522 gen_op_tmpl $unslice1_template "unsliceBinary" ""
523 gen_op_tmpl $unslice1_masked_template "unslice" ""
524 
525 # Math

 59 reduction_scalar_max="Reduction-Scalar-Max-op"
 60 reduction_scalar_masked="Reduction-Scalar-Masked-op"
 61 reduction_scalar_min_masked="Reduction-Scalar-Masked-Min-op"
 62 reduction_scalar_max_masked="Reduction-Scalar-Masked-Max-op"
 63 reduction_op="Reduction-op"
 64 reduction_op_min="Reduction-Min-op"
 65 reduction_op_max="Reduction-Max-op"
 66 reduction_op_masked="Reduction-Masked-op"
 67 reduction_op_min_masked="Reduction-Masked-Min-op"
 68 reduction_op_max_masked="Reduction-Masked-Max-op"
 69 unary_math_template="Unary-op-math"
 70 binary_math_template="Binary-op-math"
 71 binary_math_broadcast_template="Binary-Broadcast-op-math"
 72 bool_reduction_scalar="BoolReduction-Scalar-op"
 73 bool_reduction_template="BoolReduction-op"
 74 with_op_template="With-Op"
 75 shift_template="Shift-op"
 76 shift_masked_template="Shift-Masked-op"
 77 get_template="Get-op"
 78 rearrange_template="Rearrange"
 79 compressexpand_template="CompressExpand"
 80 broadcast_template="Broadcast"
 81 zero_template="Zero"
 82 slice_template="Slice-op"
 83 slice1_template="Slice-bop"
 84 slice1_masked_template="Slice-Masked-bop"
 85 unslice_template="Unslice-op"
 86 unslice1_template="Unslice-bop"
 87 unslice1_masked_template="Unslice-Masked-bop"
 88 miscellaneous_template="Miscellaneous"
 89 
 90 function replace_variables {
 91   local filename=$1
 92   local output=$2
 93   local kernel=$3
 94   local test=$4
 95   local op=$5
 96   local init=$6
 97   local guard=$7
 98   local masked=$8
 99   local op_name=$9

487 gen_compare_op "EQ+eq" "eq"
488 gen_compare_op "NE" "neq"
489 gen_compare_op "LE" "le"
490 gen_compare_op "GE" "ge"
491 
492 gen_compare_op "UNSIGNED_LT" "ult" "BITWISE"
493 gen_compare_op "UNSIGNED_GT" "ugt" "BITWISE"
494 gen_compare_op "UNSIGNED_LE" "ule" "BITWISE"
495 gen_compare_op "UNSIGNED_GE" "uge" "BITWISE"
496 
497 
498 gen_compare_bcst_op "LT" "<"
499 gen_compare_bcst_op "EQ" "=="
500 
501 # Blend.
502 gen_op_tmpl $blend "blend" ""
503 
504 # Rearrange
505 gen_op_tmpl $rearrange_template "rearrange" ""
506 
507 # Compress/Expand
508 gen_op_tmpl $compressexpand_template "compress_expand" ""
509 
510 # Get
511 gen_get_op "lane" ""
512 
513 # Broadcast
514 gen_op_tmpl $broadcast_template "broadcast" ""
515 
516 # Zero
517 gen_op_tmpl $zero_template "zero" ""
518 
519 # Slice
520 gen_op_tmpl $slice_template "sliceUnary" ""
521 gen_op_tmpl $slice1_template "sliceBinary" ""
522 gen_op_tmpl $slice1_masked_template "slice" ""
523 
524 # Unslice
525 gen_op_tmpl $unslice_template "unsliceUnary" ""
526 gen_op_tmpl $unslice1_template "unsliceBinary" ""
527 gen_op_tmpl $unslice1_masked_template "unslice" ""
528 
529 # Math
< prev index next >