Home | History | Annotate | Download | only in src

Lines Matching defs:min

18  * Tests for MIN/MAX vectorization.
26 /// CHECK-DAG: <<Min:f\d+>> InvokeStaticOrDirect [<<Get1>>,<<Get2>>] intrinsic:MathMinFloatFloat loop:<<Loop>> outer_loop:none
27 /// CHECK-DAG: ArraySet [{{l\d+}},<<Phi>>,<<Min>>] loop:<<Loop>> outer_loop:none
30 // TODO MIPS64: min(x, NaN)?
35 /// CHECK-DAG: <<Min:d\d+>> VecMin [<<Get1>>,<<Get2>>] loop:<<Loop>> outer_loop:none
36 /// CHECK-DAG: VecStore [{{l\d+}},{{i\d+}},<<Min>>] loop:<<Loop>> outer_loop:none
38 int min = Math.min(x.length, Math.min(y.length, z.length));
39 for (int i = 0; i < min; i++) {
40 x[i] = Math.min(y[i], z[i]);
60 int min = Math.min(x.length, Math.min(y.length, z.length));
61 for (int i = 0; i < min; i++) {
103 float expected = Math.min(y[i], z[i]);