Home
last modified time | relevance | path

Searched refs:FLOOR (Results 1 – 25 of 70) sorted by relevance

123

/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/AMDGPU/
Dffloor.ll7 ; R600: FLOOR
30 ; R600: FLOOR
31 ; R600: FLOOR
32 ; R600: FLOOR
33 ; R600: FLOOR
Dfp_to_sint.f64.ll42 ; CI-DAG: v_floor_f64_e32 [[FLOOR:v\[[0-9]+:[0-9]+\]]], [[MUL]]
46 ; CI-DAG: v_fma_f64 [[FMA:v\[[0-9]+:[0-9]+\]]], [[FLOOR]], s{{\[[0-9]+}}:[[K1_HI]]{{\]}}, [[TRUNC]]
48 ; CI-DAG: v_cvt_i32_f64_e32 v[[HI:[0-9]+]], [[FLOOR]]
Dfp_to_uint.f64.ll42 ; CI-DAG: v_floor_f64_e32 [[FLOOR:v\[[0-9]+:[0-9]+\]]], [[MUL]]
46 ; CI-DAG: v_fma_f64 [[FMA:v\[[0-9]+:[0-9]+\]]], [[FLOOR]], s{{\[[0-9]+}}:[[K1_HI]]{{\]}}, [[TRUNC]]
48 ; CI-DAG: v_cvt_u32_f64_e32 v[[HI:[0-9]+]], [[FLOOR]]
Dfloor.ll3 ; CHECK: FLOOR * T{{[0-9]+\.[XYZW], T[0-9]+\.[XYZW]}}
Dfract.ll59 ; GCN-UNSAFE-DAG: v_floor_f32_e32 [[FLOOR:v[0-9]+]], [[INPUT:v[0-9]+]]
62 ; GCN-UNSAFE: buffer_store_dword [[FLOOR]]
/external/llvm/test/CodeGen/AMDGPU/
Dffloor.ll7 ; R600: FLOOR
30 ; R600: FLOOR
31 ; R600: FLOOR
32 ; R600: FLOOR
33 ; R600: FLOOR
Dfp_to_sint.f64.ll41 ; CI-DAG: v_floor_f64_e32 [[FLOOR:v\[[0-9]+:[0-9]+\]]], [[MUL]]
45 ; CI-DAG: v_fma_f64 [[FMA:v\[[0-9]+:[0-9]+\]]], [[FLOOR]], s{{\[[0-9]+}}:[[K1_HI]]{{\]}}, [[TRUNC]]
47 ; CI-DAG: v_cvt_i32_f64_e32 v[[HI:[0-9]+]], [[FLOOR]]
Dfp_to_uint.f64.ll41 ; CI-DAG: v_floor_f64_e32 [[FLOOR:v\[[0-9]+:[0-9]+\]]], [[MUL]]
45 ; CI-DAG: v_fma_f64 [[FMA:v\[[0-9]+:[0-9]+\]]], [[FLOOR]], s{{\[[0-9]+}}:[[K1_HI]]{{\]}}, [[TRUNC]]
47 ; CI-DAG: v_cvt_u32_f64_e32 v[[HI:[0-9]+]], [[FLOOR]]
Dfract.ll59 ; GCN-UNSAFE-DAG: v_floor_f32_e32 [[FLOOR:v[0-9]+]], [[INPUT:v[0-9]+]]
62 ; GCN-UNSAFE: buffer_store_dword [[FLOOR]]
Dfloor.ll3 ; CHECK: FLOOR * T{{[0-9]+\.[XYZW], T[0-9]+\.[XYZW]}}
/external/guava/guava/src/com/google/common/math/
DBigIntegerMath.java25 import static java.math.RoundingMode.FLOOR;
76 case FLOOR: in log2()
135 int approxLog10 = (int) (log2(x, FLOOR) * LN_2 / LN_10); in log10()
175 case FLOOR: in log10()
216 case FLOOR: in sqrt()
263 int log2 = log2(x, FLOOR); in sqrtFloor()
336 int productBits = LongMath.log2(product, FLOOR) + 1; in factorial()
337 int bits = LongMath.log2(startingNumber, FLOOR) + 1; in factorial()
361 productBits = LongMath.log2(product, FLOOR) + 1; in factorial()
DIntMath.java94 case FLOOR: in log2()
136 case FLOOR: in log10()
237 case FLOOR: in sqrt()
312 case FLOOR: in divide()
DLongMath.java92 case FLOOR: in log2()
135 case FLOOR: in log10()
304 case FLOOR: in sqrt()
378 case FLOOR: in divide()
/external/guava/guava-tests/test/com/google/common/math/
DBigIntegerMathTest.java29 import static java.math.RoundingMode.FLOOR;
57 BigInteger.ZERO.setBit(2 * BigIntegerMath.SQRT2_PRECOMPUTE_THRESHOLD + 1), FLOOR), in testConstantSqrt2PrecomputedBits()
89 for (RoundingMode mode : asList(FLOOR, DOWN)) { in testLog2Floor()
149 boolean floorWasEven = (BigIntegerMath.log2(x, FLOOR) & 1) == 0; in testLog2HalfEven()
177 for (RoundingMode mode : asList(FLOOR, DOWN)) { in testLog10Floor()
200 int logFloor = BigIntegerMath.log10(x, FLOOR); in testLog10Exact()
242 boolean floorWasEven = (BigIntegerMath.log10(x, FLOOR) & 1) == 0; in testLog10HalfEven()
275 for (RoundingMode mode : asList(FLOOR, DOWN)) { in testSqrtFloor()
300 BigInteger floor = BigIntegerMath.sqrt(x, FLOOR);
351 boolean floorWasOdd = BigIntegerMath.sqrt(x, FLOOR).testBit(0);
DIntMathTest.java28 import static java.math.RoundingMode.FLOOR;
51 BigIntegerMath.sqrt(BigInteger.ZERO.setBit(2 * Integer.SIZE - 1), FLOOR).intValue(), in testConstantMaxPowerOfSqrt2Unsigned()
66 BigIntegerMath.log10(BigInteger.ONE.shiftLeft(Integer.SIZE - i), FLOOR), in testMaxLog10ForLeadingZeros()
76 BigIntegerMath.sqrt(BigInteger.TEN.pow(2 * i + 1), FLOOR).longValue()); in testConstantsHalfPowersOf10()
96 assertEquals(IntMath.sqrt(Integer.MAX_VALUE, FLOOR), IntMath.FLOOR_SQRT_MAX_INT); in testPowersSqrtMaxInt()
201 int floor = IntMath.log10(x, FLOOR); in testLog10Exact()
257 int floor = IntMath.sqrt(x, FLOOR); in testSqrtExactMatchesFloorOrThrows()
DLongMathTest.java30 import static java.math.RoundingMode.FLOOR;
52 assertEquals(BigIntegerMath.sqrt(BigInteger.ZERO.setBit(2 * Long.SIZE - 1), FLOOR).longValue(), in testConstantMaxPowerOfSqrt2Unsigned()
60 BigIntegerMath.log10(BigInteger.ONE.shiftLeft(Long.SIZE - i), FLOOR), in testMaxLog10ForLeadingZeros()
79 assertEquals(BigIntegerMath.sqrt(BigInteger.TEN.pow(2 * i + 1), FLOOR), in testConstantsHalfPowersOf10()
83 BigIntegerMath.sqrt(BigInteger.TEN.pow(2 * LongMath.halfPowersOf10.length + 1), FLOOR); in testConstantsHalfPowersOf10()
89 assertEquals(LongMath.sqrt(Long.MAX_VALUE, FLOOR), LongMath.FLOOR_SQRT_MAX_LONG); in testConstantsSqrtMaxLong()
254 int floor = LongMath.log10(x, FLOOR); in testLog10Exact()
301 long sqrtFloor = LongMath.sqrt(x, FLOOR); in testSqrtExactMatchesFloorOrThrows()
/external/guava/guava-gwt/src-super/com/google/common/math/super/com/google/common/math/
DBigIntegerMath.java25 import static java.math.RoundingMode.FLOOR;
74 case FLOOR: in log2()
153 int productBits = LongMath.log2(product, FLOOR) + 1; in factorial()
154 int bits = LongMath.log2(startingNumber, FLOOR) + 1; in factorial()
178 productBits = LongMath.log2(product, FLOOR) + 1; in factorial()
DIntMath.java91 case FLOOR: in log2()
191 case FLOOR: in divide()
/external/guava/guava-gwt/test-super/com/google/common/math/super/com/google/common/math/
DBigIntegerMathTest.java26 import static java.math.RoundingMode.FLOOR;
77 for (RoundingMode mode : asList(FLOOR, DOWN)) { in testLog2Floor()
137 boolean floorWasEven = (BigIntegerMath.log2(x, FLOOR) & 1) == 0; in testLog2HalfEven()
/external/libvpx/libvpx/vp8/decoder/
Derror_concealment.c21 #define FLOOR(x, q) ((x) & -(1 << (q))) macro
177 overlap_b_row = FLOOR(new_row / 4, 3) >> 3; in calculate_overlaps()
178 overlap_b_col = FLOOR(new_col / 4, 3) >> 3; in calculate_overlaps()
183 overlap_mb_row = FLOOR((overlap_b_row << 3) / 4, 3) >> 3; in calculate_overlaps()
184 overlap_mb_col = FLOOR((overlap_b_col << 3) / 4, 3) >> 3; in calculate_overlaps()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/impl/number/
DDecimalQuantity_SimpleStorage.java622 returnValue = temp.setScale(0, RoundingMode.FLOOR).remainder(BigDecimal.TEN).byteValue();
623 fallback = fallback.setScale(0, RoundingMode.FLOOR).add(temp.remainder(BigDecimal.ONE));
674 return fallback.setScale(0, RoundingMode.FLOOR).compareTo(BigDecimal.ZERO) > 0;
752 returnValue = fallback.setScale(0, RoundingMode.FLOOR).remainder(BigDecimal.TEN).byteValue();
753 BigDecimal temp = fallback.divide(BigDecimal.TEN).setScale(0, RoundingMode.FLOOR);
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/impl/number/
DDecimalQuantity_SimpleStorage.java619 returnValue = temp.setScale(0, RoundingMode.FLOOR).remainder(BigDecimal.TEN).byteValue();
620 fallback = fallback.setScale(0, RoundingMode.FLOOR).add(temp.remainder(BigDecimal.ONE));
671 return fallback.setScale(0, RoundingMode.FLOOR).compareTo(BigDecimal.ZERO) > 0;
749 returnValue = fallback.setScale(0, RoundingMode.FLOOR).remainder(BigDecimal.TEN).byteValue();
750 BigDecimal temp = fallback.divide(BigDecimal.TEN).setScale(0, RoundingMode.FLOOR);
/external/freetype/src/raster/
Dftraster.c445 #undef FLOOR
450 #define FLOOR( x ) ( (x) & -ras.precision ) macro
461 (Bool)( x - FLOOR( x ) >= ras.precision_half )
1225 e2 = FLOOR( y2 ); in Bezier_Up()
2255 e2 = TRUNC( FLOOR( x2 ) ); in Vertical_Sweep_Span()
2339 e2 = FLOOR ( x2 ); in Vertical_Sweep_Drop()
2358 pxl = FLOOR( ( x1 + x2 - 1 ) / 2 + ras.precision_half ); in Vertical_Sweep_Drop()
2407 pxl = FLOOR( ( x1 + x2 - 1 ) / 2 + ras.precision_half ); in Vertical_Sweep_Drop()
2504 e2 = FLOOR ( x2 ); in Horizontal_Sweep_Span()
2560 e2 = FLOOR ( x2 ); in Horizontal_Sweep_Drop()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/InstCombine/
Dfloat-shrink-compare.ll72 ; CHECK-NEXT: [[FLOOR:%.*]] = call float @llvm.floor.f32(float %x)
73 ; CHECK-NEXT: [[CMP:%.*]] = fcmp oeq float [[FLOOR]], %y
86 ; CHECK-NEXT: [[FLOOR:%.*]] = call float @llvm.floor.f32(float %x)
87 ; CHECK-NEXT: [[CMP:%.*]] = fcmp oeq float [[FLOOR]], %y
242 ; CHECK-NEXT: [[FLOOR:%.*]] = call float @llvm.floor.f32(float %x)
243 ; CHECK-NEXT: [[CMP:%.*]] = fcmp oeq float [[FLOOR]], %y
255 ; CHECK-NEXT: [[FLOOR:%.*]] = call float @llvm.floor.f32(float %x)
256 ; CHECK-NEXT: [[CMP:%.*]] = fcmp oeq float [[FLOOR]], %y
/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/jdkadapter/
DNumberFormatICU.java120 mode = RoundingMode.FLOOR; in getRoundingMode()
213 } else if (roundingMode.equals(RoundingMode.FLOOR)) { in setRoundingMode()

123