Home
last modified time | relevance | path

Searched refs:Overflow (Results 1 – 25 of 327) sorted by relevance

12345678910>>...14

/external/arm-neon-tests/
Dref_dspfns.c65 Overflow = init_Overflow; in test_16_fn_32()
69 func_name, svar32_a, svar16_a, Overflow, Carry); in test_16_fn_32()
72 Overflow = init_Overflow; in test_16_fn_32()
76 func_name, svar32_a, svar16_a, Overflow, Carry); in test_16_fn_32()
79 Overflow = init_Overflow; in test_16_fn_32()
83 func_name, svar32_a, svar16_a, Overflow, Carry); in test_16_fn_32()
86 Overflow = init_Overflow; in test_16_fn_32()
90 func_name, svar32_a, svar16_a, Overflow, Carry); in test_16_fn_32()
93 Overflow = init_Overflow; in test_16_fn_32()
97 func_name, svar32_a, svar16_a, Overflow, Carry); in test_16_fn_32()
[all …]
Dref_integer.c70 Overflow = 0; in exec_integer()
73 (unsigned int)svar1, (unsigned int)svar2, (unsigned int)sres, Overflow); in exec_integer()
77 Overflow = 0; in exec_integer()
80 (unsigned int)svar1, (unsigned int)svar2, (unsigned int)sres, Overflow); in exec_integer()
84 Overflow = 0; in exec_integer()
87 (unsigned int)svar1, (unsigned int)svar2, (unsigned int)sres, Overflow); in exec_integer()
91 Overflow = 0; in exec_integer()
94 (unsigned int)svar1, (unsigned int)svar2, (unsigned int)sres, Overflow); in exec_integer()
98 Overflow = 0; in exec_integer()
101 (unsigned int)svar1, (unsigned int)svar2, (unsigned int)sres, Overflow); in exec_integer()
[all …]
Dref_dsp.c60 Overflow = 0; in exec_dsp()
62 fprintf(ref_file, "qadd(%#x, %#x) = %#x sat %d\n", svar1, svar2, sres, Overflow); in exec_dsp()
66 Overflow = 0; in exec_dsp()
68 fprintf(ref_file, "qadd(%#x, %#x) = %#x sat %d\n", svar1, svar2, sres, Overflow); in exec_dsp()
72 Overflow = 0; in exec_dsp()
74 fprintf(ref_file, "qadd(%#x, %#x) = %#x sat %d\n", svar1, svar2, sres, Overflow); in exec_dsp()
78 Overflow = 0; in exec_dsp()
80 fprintf(ref_file, "qadd(%#x, %#x) = %#x sat %d\n", svar1, svar2, sres, Overflow); in exec_dsp()
84 Overflow = 0; in exec_dsp()
86 fprintf(ref_file, "qadd(%#x, %#x) = %#x sat %d\n", svar1, svar2, sres, Overflow); in exec_dsp()
[all …]
/external/llvm-project/llvm/lib/Support/
DAPFixedPoint.cpp20 bool *Overflow) const { in convert()
25 if (Overflow) in convert()
26 *Overflow = false; in convert()
45 else if (Overflow) in convert()
46 *Overflow = true; in convert()
55 else if (Overflow) in convert()
56 *Overflow = true; in convert()
177 bool *Overflow) const { in add()
194 if (Overflow) in add()
195 *Overflow = Overflowed; in add()
[all …]
DAPInt.cpp1955 APInt APInt::sadd_ov(const APInt &RHS, bool &Overflow) const { in sadd_ov()
1957 Overflow = isNonNegative() == RHS.isNonNegative() && in sadd_ov()
1962 APInt APInt::uadd_ov(const APInt &RHS, bool &Overflow) const { in uadd_ov()
1964 Overflow = Res.ult(RHS); in uadd_ov()
1968 APInt APInt::ssub_ov(const APInt &RHS, bool &Overflow) const { in ssub_ov()
1970 Overflow = isNonNegative() != RHS.isNonNegative() && in ssub_ov()
1975 APInt APInt::usub_ov(const APInt &RHS, bool &Overflow) const { in usub_ov()
1977 Overflow = Res.ugt(*this); in usub_ov()
1981 APInt APInt::sdiv_ov(const APInt &RHS, bool &Overflow) const { in sdiv_ov()
1983 Overflow = isMinSignedValue() && RHS.isAllOnesValue(); in sdiv_ov()
[all …]
/external/llvm-project/llvm/include/llvm/ADT/
DAPFixedPoint.h128 bool *Overflow = nullptr) const;
134 APFixedPoint add(const APFixedPoint &Other, bool *Overflow = nullptr) const;
135 APFixedPoint sub(const APFixedPoint &Other, bool *Overflow = nullptr) const;
136 APFixedPoint mul(const APFixedPoint &Other, bool *Overflow = nullptr) const;
137 APFixedPoint div(const APFixedPoint &Other, bool *Overflow = nullptr) const;
142 APFixedPoint shl(unsigned Amt, bool *Overflow = nullptr) const;
143 APFixedPoint shr(unsigned Amt, bool *Overflow = nullptr) const {
145 if (Overflow)
146 *Overflow = false;
152 APFixedPoint negate(bool *Overflow = nullptr) const;
[all …]
/external/python/cpython2/Lib/test/decimaltestdata/
Dpower.decTest303 powx421 power 2.5E-501 -2 -> Infinity Overflow Inexact Rounded
524 powx283 power 10.0001 999999 -> Infinity Overflow Inexact Rounded
525 powx285 power 11 999999 -> Infinity Overflow Inexact Rounded
526 powx286 power 12 999999 -> Infinity Overflow Inexact Rounded
527 powx287 power 999 999999 -> Infinity Overflow Inexact Rounded
528 powx288 power 999999999 999999 -> Infinity Overflow Inexact Rounded
529 powx289 power 9.9E999999999 999999 -> Infinity Overflow Inexact Rounded
543 powx312 power -10.0001 999999 -> -Infinity Overflow Inexact Rounded
544 powx313 power -10.1 999999 -> -Infinity Overflow Inexact Rounded
545 powx314 power -11 999999 -> -Infinity Overflow Inexact Rounded
[all …]
Dbase.decTest917 basx906 toSci '99e999999999' -> Infinity Overflow Inexact Rounded
918 basx907 toSci '999e999999999' -> Infinity Overflow Inexact Rounded
923 basx912 toSci '0.9e9999999999' -> Infinity Overflow Inexact Rounded
925 basx914 toSci '111e9999999999' -> Infinity Overflow Inexact Rounded
928 basx917 toSci '7e1000000000' -> Infinity Overflow Inexact Rounded
930 basx918 toSci '-99e999999999' -> -Infinity Overflow Inexact Rounded
931 basx919 toSci '-999e999999999' -> -Infinity Overflow Inexact Rounded
936 basx924 toSci '-0.9e9999999999' -> -Infinity Overflow Inexact Rounded
938 basx926 toSci '-111e9999999999' -> -Infinity Overflow Inexact Rounded
941 basx929 toSci '-7e1000000000' -> -Infinity Overflow Inexact Rounded
[all …]
Drounding.decTest984 rovx100 multiply 10 9E+999999999 -> 9.9999E+999999999 Overflow Inexact Rounded
985 rovx101 multiply -10 9E+999999999 -> -9.9999E+999999999 Overflow Inexact Rounded
990 rovx110 multiply 10 9E+999999999 -> Infinity Overflow Inexact Rounded
991 rovx111 multiply -10 9E+999999999 -> -Infinity Overflow Inexact Rounded
996 rovx120 multiply 10 9E+999999999 -> Infinity Overflow Inexact Rounded
997 rovx121 multiply -10 9E+999999999 -> -9.9999E+999999999 Overflow Inexact Rounded
1002 rovx130 multiply 10 9E+999999999 -> 9.9999E+999999999 Overflow Inexact Rounded
1003 rovx131 multiply -10 9E+999999999 -> -Infinity Overflow Inexact Rounded
1008 rovx140 multiply 10 9E+999999999 -> Infinity Overflow Inexact Rounded
1009 rovx141 multiply -10 9E+999999999 -> -Infinity Overflow Inexact Rounded
[all …]
Dmultiply.decTest505 mulx730 multiply +1.23456789012345E-0 9E+999999999 -> Infinity Inexact Overflow Rounded
506 mulx731 multiply 9E+999999999 +1.23456789012345E-0 -> Infinity Inexact Overflow Rounded
509 mulx735 multiply -1.23456789012345E-0 9E+999999999 -> -Infinity Inexact Overflow Rounded
510 mulx736 multiply 9E+999999999 -1.23456789012345E-0 -> -Infinity Inexact Overflow Rounded
520 mulx745 multiply 1e599999999 1e400000001 -> Infinity Overflow Inexact Rounded
522 mulx747 multiply 1e600000000 1e400000000 -> Infinity Overflow Inexact Rounded
523 mulx748 multiply 9e999999998 100 -> Infinity Overflow Inexact Rounded
525 mulx750 multiply 100 9e999999998 -> Infinity Overflow Inexact Rounded
527 mulx751 multiply 1e+777777777 1e+411111111 -> Infinity Overflow Inexact Rounded
528 mulx752 multiply 1e+777777777 -1e+411111111 -> -Infinity Overflow Inexact Rounded
[all …]
Dscaleb.decTest87 scbx120 scaleb 1.23 2015 -> Infinity Overflow Inexact Rounded
88 scbx121 scaleb 1.23 2016 -> Infinity Overflow Inexact Rounded
172 scbx132 scaleb 9.99999999E+999 +999 -> Infinity Overflow Inexact Rounded
173 scbx133 scaleb 9.99999999E+999 +10 -> Infinity Overflow Inexact Rounded
174 scbx134 scaleb 9.99999999E+999 +1 -> Infinity Overflow Inexact Rounded
196 scbx159 scaleb -9.99999999E+999 +1 -> -Infinity Overflow Inexact Rounded
199 scbx162 scaleb -9E+999 +1 -> -Infinity Overflow Inexact Rounded
200 scbx163 scaleb -1E+999 +1 -> -Infinity Overflow Inexact Rounded
DddBase.decTest930 ddbas906 toSci '99e999999999' -> Infinity Overflow Inexact Rounded
931 ddbas907 toSci '999e999999999' -> Infinity Overflow Inexact Rounded
934 ddbas910 toSci '0.1e1000000000' -> Infinity Overflow Inexact Rounded
936 ddbas912 toSci '0.9e9999999999' -> Infinity Overflow Inexact Rounded
938 ddbas914 toSci '111e9999999999' -> Infinity Overflow Inexact Rounded
941 ddbas917 toSci '7e1000000000' -> Infinity Overflow Inexact Rounded
943 ddbas918 toSci '-99e999999999' -> -Infinity Overflow Inexact Rounded
944 ddbas919 toSci '-999e999999999' -> -Infinity Overflow Inexact Rounded
947 ddbas922 toSci '-0.1e1000000000' -> -Infinity Overflow Inexact Rounded
949 ddbas924 toSci '-0.9e9999999999' -> -Infinity Overflow Inexact Rounded
[all …]
/external/python/cpython3/Lib/test/decimaltestdata/
Dpower.decTest303 powx421 power 2.5E-501 -2 -> Infinity Overflow Inexact Rounded
524 powx283 power 10.0001 999999 -> Infinity Overflow Inexact Rounded
525 powx285 power 11 999999 -> Infinity Overflow Inexact Rounded
526 powx286 power 12 999999 -> Infinity Overflow Inexact Rounded
527 powx287 power 999 999999 -> Infinity Overflow Inexact Rounded
528 powx288 power 999999999 999999 -> Infinity Overflow Inexact Rounded
529 powx289 power 9.9E999999999 999999 -> Infinity Overflow Inexact Rounded
543 powx312 power -10.0001 999999 -> -Infinity Overflow Inexact Rounded
544 powx313 power -10.1 999999 -> -Infinity Overflow Inexact Rounded
545 powx314 power -11 999999 -> -Infinity Overflow Inexact Rounded
[all …]
Dbase.decTest917 basx906 toSci '99e999999999' -> Infinity Overflow Inexact Rounded
918 basx907 toSci '999e999999999' -> Infinity Overflow Inexact Rounded
923 basx912 toSci '0.9e9999999999' -> Infinity Overflow Inexact Rounded
925 basx914 toSci '111e9999999999' -> Infinity Overflow Inexact Rounded
928 basx917 toSci '7e1000000000' -> Infinity Overflow Inexact Rounded
930 basx918 toSci '-99e999999999' -> -Infinity Overflow Inexact Rounded
931 basx919 toSci '-999e999999999' -> -Infinity Overflow Inexact Rounded
936 basx924 toSci '-0.9e9999999999' -> -Infinity Overflow Inexact Rounded
938 basx926 toSci '-111e9999999999' -> -Infinity Overflow Inexact Rounded
941 basx929 toSci '-7e1000000000' -> -Infinity Overflow Inexact Rounded
[all …]
Drounding.decTest984 rovx100 multiply 10 9E+999999999 -> 9.9999E+999999999 Overflow Inexact Rounded
985 rovx101 multiply -10 9E+999999999 -> -9.9999E+999999999 Overflow Inexact Rounded
990 rovx110 multiply 10 9E+999999999 -> Infinity Overflow Inexact Rounded
991 rovx111 multiply -10 9E+999999999 -> -Infinity Overflow Inexact Rounded
996 rovx120 multiply 10 9E+999999999 -> Infinity Overflow Inexact Rounded
997 rovx121 multiply -10 9E+999999999 -> -9.9999E+999999999 Overflow Inexact Rounded
1002 rovx130 multiply 10 9E+999999999 -> 9.9999E+999999999 Overflow Inexact Rounded
1003 rovx131 multiply -10 9E+999999999 -> -Infinity Overflow Inexact Rounded
1008 rovx140 multiply 10 9E+999999999 -> Infinity Overflow Inexact Rounded
1009 rovx141 multiply -10 9E+999999999 -> -Infinity Overflow Inexact Rounded
[all …]
Dmultiply.decTest505 mulx730 multiply +1.23456789012345E-0 9E+999999999 -> Infinity Inexact Overflow Rounded
506 mulx731 multiply 9E+999999999 +1.23456789012345E-0 -> Infinity Inexact Overflow Rounded
509 mulx735 multiply -1.23456789012345E-0 9E+999999999 -> -Infinity Inexact Overflow Rounded
510 mulx736 multiply 9E+999999999 -1.23456789012345E-0 -> -Infinity Inexact Overflow Rounded
520 mulx745 multiply 1e599999999 1e400000001 -> Infinity Overflow Inexact Rounded
522 mulx747 multiply 1e600000000 1e400000000 -> Infinity Overflow Inexact Rounded
523 mulx748 multiply 9e999999998 100 -> Infinity Overflow Inexact Rounded
525 mulx750 multiply 100 9e999999998 -> Infinity Overflow Inexact Rounded
527 mulx751 multiply 1e+777777777 1e+411111111 -> Infinity Overflow Inexact Rounded
528 mulx752 multiply 1e+777777777 -1e+411111111 -> -Infinity Overflow Inexact Rounded
[all …]
Dscaleb.decTest87 scbx120 scaleb 1.23 2015 -> Infinity Overflow Inexact Rounded
88 scbx121 scaleb 1.23 2016 -> Infinity Overflow Inexact Rounded
172 scbx132 scaleb 9.99999999E+999 +999 -> Infinity Overflow Inexact Rounded
173 scbx133 scaleb 9.99999999E+999 +10 -> Infinity Overflow Inexact Rounded
174 scbx134 scaleb 9.99999999E+999 +1 -> Infinity Overflow Inexact Rounded
196 scbx159 scaleb -9.99999999E+999 +1 -> -Infinity Overflow Inexact Rounded
199 scbx162 scaleb -9E+999 +1 -> -Infinity Overflow Inexact Rounded
200 scbx163 scaleb -1E+999 +1 -> -Infinity Overflow Inexact Rounded
/external/rust/crates/cast/src/
Dtest.rs210 assert_eq!(super::u32(32_f32.exp2()), Err(super::Error::Overflow)); in gh15()
211 assert_eq!(super::u32(32_f64.exp2()), Err(super::Error::Overflow)); in gh15()
213 assert_eq!(super::u64(64_f32.exp2()), Err(super::Error::Overflow)); in gh15()
214 assert_eq!(super::u64(64_f64.exp2()), Err(super::Error::Overflow)); in gh15()
216 assert_eq!(super::u8(8_f32.exp2()), Err(super::Error::Overflow)); in gh15()
217 assert_eq!(super::u8(8_f64.exp2()), Err(super::Error::Overflow)); in gh15()
219 assert_eq!(super::u16(16_f32.exp2()), Err(super::Error::Overflow)); in gh15()
220 assert_eq!(super::u16(16_f64.exp2()), Err(super::Error::Overflow)); in gh15()
/external/llvm-project/llvm/lib/IR/
DOperator.cpp78 bool Overflow = false; in accumulateConstantOffset() local
79 APInt OffsetPlus = Index.smul_ov(IndexedSize, Overflow); in accumulateConstantOffset()
80 if (Overflow) in accumulateConstantOffset()
82 Offset = Offset.sadd_ov(OffsetPlus, Overflow); in accumulateConstantOffset()
83 if (Overflow) in accumulateConstantOffset()
/external/deqp-deps/SPIRV-Tools/source/
Denum_set.h144 Overflow().insert(word); in AddWord()
154 auto itr = Overflow().find(word); in RemoveWord()
155 if (itr != Overflow().end()) Overflow().erase(itr); in RemoveWord()
189 OverflowSetType& Overflow() { in Overflow() function
/external/swiftshader/third_party/SPIRV-Tools/source/
Denum_set.h144 Overflow().insert(word); in AddWord()
154 auto itr = Overflow().find(word); in RemoveWord()
155 if (itr != Overflow().end()) Overflow().erase(itr); in RemoveWord()
189 OverflowSetType& Overflow() { in Overflow() function
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DAPInt.cpp1956 APInt APInt::sadd_ov(const APInt &RHS, bool &Overflow) const { in sadd_ov()
1958 Overflow = isNonNegative() == RHS.isNonNegative() && in sadd_ov()
1963 APInt APInt::uadd_ov(const APInt &RHS, bool &Overflow) const { in uadd_ov()
1965 Overflow = Res.ult(RHS); in uadd_ov()
1969 APInt APInt::ssub_ov(const APInt &RHS, bool &Overflow) const { in ssub_ov()
1971 Overflow = isNonNegative() != RHS.isNonNegative() && in ssub_ov()
1976 APInt APInt::usub_ov(const APInt &RHS, bool &Overflow) const { in usub_ov()
1978 Overflow = Res.ugt(*this); in usub_ov()
1982 APInt APInt::sdiv_ov(const APInt &RHS, bool &Overflow) const { in sdiv_ov()
1984 Overflow = isMinSignedValue() && RHS.isAllOnesValue(); in sdiv_ov()
[all …]
/external/crosvm/data_model/src/
Dvolatile_memory.rs40 Overflow { base: usize, offset: usize }, enumerator
49 Overflow { base, offset } => write!( in fmt()
81 None => Err(Error::Overflow { base, offset }), in calc_offset()
158 VolatileMemoryError::Overflow { in offset()
182 VolatileMemoryError::Overflow { in sub_slice()
421 VolatileMemoryError::Overflow { in get_slice()
515 Error::Overflow { in slice_overflow_error()
537 Error::Overflow { in ref_overflow_error()
/external/rust/crates/itertools/src/
Dpermutations.rs52 Overflow, enumerator
132 CompleteStateRemaining::Overflow => { in count()
163 CompleteStateRemaining::Overflow => (::std::usize::MAX, None) in size_hint()
245 use self::CompleteStateRemaining::{Known, Overflow}; in remaining()
259 None => Overflow in remaining()
272 None => { return Overflow; } in remaining()
/external/llvm-project/llvm/unittests/IR/
DConstantRangeTest.cpp1521 bool Overflow = false; in TEST() local
1522 (void)I.uadd_ov(C, Overflow); in TEST()
1523 EXPECT_FALSE(Overflow); in TEST()
1528 bool Overflow = false; in TEST() local
1529 (void)I.sadd_ov(C, Overflow); in TEST()
1530 EXPECT_FALSE(Overflow); in TEST()
1549 bool Overflow = false; in TEST() local
1550 (void)I.usub_ov(C, Overflow); in TEST()
1551 EXPECT_FALSE(Overflow); in TEST()
1556 bool Overflow = false; in TEST() local
[all …]

12345678910>>...14