/external/v8/test/mjsunit/asm/ |
uint32div.js | 9 function Uint32Div(divisor) { 11 name += divisor; 15 + " return ((dividend >>> 0) / " + divisor + ") >>> 0;\n" 24 var divisor = divisors[i]; 25 var div = Uint32Div(divisor); 27 assertEquals((dividend / divisor) >>> 0, div(dividend)); 33 function div(dividend, divisor) { 34 return (dividend >>> 0) / (divisor >>> 0) | 0; 40 var divisor = divisors[i]; 42 assertEquals((dividend >>> 0) / (divisor >>> 0) | 0 [all...] |
int32mod.js | 11 function mod(dividend, divisor) { 13 divisor = divisor|0; 14 return (dividend % divisor) | 0; 22 var divisor = divisors[i]; 24 assertEquals((dividend % divisor) | 0, mod(dividend, divisor));
|
int32modb.js | 11 function mod(dividend, divisor) { 13 divisor = divisor|0; 14 return (dividend % divisor) | 0; 22 var divisor = divisors[i]; 24 assertEquals((dividend % divisor) | 0, mod(dividend, divisor));
|
uint32mod.js | 11 function mod(dividend, divisor) { 13 divisor = divisor >>> 0; 14 return (dividend % divisor) >>> 0; 21 var divisor = divisors[i]; 23 assertEquals((dividend % divisor) >>> 0, mod(dividend, divisor));
|
uint32mod-constant.js | 9 function Uint32Mod(divisor) { 11 name += divisor; 15 + " return ((dividend >>> 0) % " + divisor + ") >>> 0;\n" 24 var divisor = divisors[i]; 25 var mod = Uint32Mod(divisor); 27 assertEquals((dividend % divisor) >>> 0, mod(dividend));
|
int32div.js | 9 function Int32Div(divisor) { 11 if (divisor < 0) { 14 name += Math.abs(divisor); 18 + " return ((dividend | 0) / " + divisor + ") | 0;\n" 28 var divisor = divisors[i]; 29 var div = Int32Div(divisor); 31 assertEquals((dividend / divisor) | 0, div(dividend));
|
int32mod-constant.js | 9 function Int32Mod(divisor) { 11 if (divisor < 0) { 14 name += Math.abs(divisor); 18 + " return ((dividend | 0) % " + divisor + ") | 0;\n" 28 var divisor = divisors[i]; 29 var mod = Int32Mod(divisor); 31 assertEquals((dividend % divisor) | 0, mod(dividend));
|
/external/llvm/test/CodeGen/X86/ |
fast-isel-divrem.ll | 4 define i8 @test_sdiv8(i8 %dividend, i8 %divisor) nounwind { 6 %result = sdiv i8 %dividend, %divisor 14 define i8 @test_srem8(i8 %dividend, i8 %divisor) nounwind { 16 %result = srem i8 %dividend, %divisor 24 define i8 @test_udiv8(i8 %dividend, i8 %divisor) nounwind { 26 %result = udiv i8 %dividend, %divisor 34 define i8 @test_urem8(i8 %dividend, i8 %divisor) nounwind { 36 %result = urem i8 %dividend, %divisor 44 define i16 @test_sdiv16(i16 %dividend, i16 %divisor) nounwind { 46 %result = sdiv i16 %dividend, %divisor [all...] |
fast-isel-divrem-x86-64.ll | 3 define i64 @test_sdiv64(i64 %dividend, i64 %divisor) nounwind { 5 %result = sdiv i64 %dividend, %divisor 13 define i64 @test_srem64(i64 %dividend, i64 %divisor) nounwind { 15 %result = srem i64 %dividend, %divisor 23 define i64 @test_udiv64(i64 %dividend, i64 %divisor) nounwind { 25 %result = udiv i64 %dividend, %divisor 33 define i64 @test_urem64(i64 %dividend, i64 %divisor) nounwind { 35 %result = urem i64 %dividend, %divisor
|
/external/llvm/test/CodeGen/ARM/Windows/ |
division.ll | 4 define arm_aapcs_vfpcc i32 @sdiv32(i32 %divisor, i32 %divident) { 6 %div = sdiv i32 %divident, %divisor 13 define arm_aapcs_vfpcc i32 @udiv32(i32 %divisor, i32 %divident) { 15 %div = udiv i32 %divident, %divisor 22 define arm_aapcs_vfpcc i64 @sdiv64(i64 %divisor, i64 %divident) { 24 %div = sdiv i64 %divident, %divisor 31 define arm_aapcs_vfpcc i64 @udiv64(i64 %divisor, i64 %divident) { 33 %div = udiv i64 %divident, %divisor
|
/development/ndk/platforms/android-3/include/linux/ |
calc64.h | 19 #define div_long_long_rem(dividend, divisor, remainder) do_div_llr((dividend), divisor, remainder)
|
/prebuilts/ndk/current/platforms/android-12/arch-arm/usr/include/linux/ |
calc64.h | 19 #define div_long_long_rem(dividend, divisor, remainder) do_div_llr((dividend), divisor, remainder)
|
/prebuilts/ndk/current/platforms/android-12/arch-mips/usr/include/linux/ |
calc64.h | 19 #define div_long_long_rem(dividend, divisor, remainder) do_div_llr((dividend), divisor, remainder)
|
/prebuilts/ndk/current/platforms/android-12/arch-x86/usr/include/linux/ |
calc64.h | 19 #define div_long_long_rem(dividend, divisor, remainder) do_div_llr((dividend), divisor, remainder)
|
/prebuilts/ndk/current/platforms/android-13/arch-arm/usr/include/linux/ |
calc64.h | 19 #define div_long_long_rem(dividend, divisor, remainder) do_div_llr((dividend), divisor, remainder)
|
/prebuilts/ndk/current/platforms/android-13/arch-mips/usr/include/linux/ |
calc64.h | 19 #define div_long_long_rem(dividend, divisor, remainder) do_div_llr((dividend), divisor, remainder)
|
/prebuilts/ndk/current/platforms/android-13/arch-x86/usr/include/linux/ |
calc64.h | 19 #define div_long_long_rem(dividend, divisor, remainder) do_div_llr((dividend), divisor, remainder)
|
/prebuilts/ndk/current/platforms/android-14/arch-arm/usr/include/linux/ |
calc64.h | 19 #define div_long_long_rem(dividend, divisor, remainder) do_div_llr((dividend), divisor, remainder)
|
/prebuilts/ndk/current/platforms/android-14/arch-mips/usr/include/linux/ |
calc64.h | 19 #define div_long_long_rem(dividend, divisor, remainder) do_div_llr((dividend), divisor, remainder)
|
/prebuilts/ndk/current/platforms/android-14/arch-x86/usr/include/linux/ |
calc64.h | 19 #define div_long_long_rem(dividend, divisor, remainder) do_div_llr((dividend), divisor, remainder)
|
/prebuilts/ndk/current/platforms/android-15/arch-arm/usr/include/linux/ |
calc64.h | 19 #define div_long_long_rem(dividend, divisor, remainder) do_div_llr((dividend), divisor, remainder)
|
/prebuilts/ndk/current/platforms/android-15/arch-mips/usr/include/linux/ |
calc64.h | 19 #define div_long_long_rem(dividend, divisor, remainder) do_div_llr((dividend), divisor, remainder)
|
/prebuilts/ndk/current/platforms/android-15/arch-x86/usr/include/linux/ |
calc64.h | 19 #define div_long_long_rem(dividend, divisor, remainder) do_div_llr((dividend), divisor, remainder)
|
/prebuilts/ndk/current/platforms/android-16/arch-arm/usr/include/linux/ |
calc64.h | 19 #define div_long_long_rem(dividend, divisor, remainder) do_div_llr((dividend), divisor, remainder)
|
/prebuilts/ndk/current/platforms/android-16/arch-mips/usr/include/linux/ |
calc64.h | 19 #define div_long_long_rem(dividend, divisor, remainder) do_div_llr((dividend), divisor, remainder)
|