Home
last modified time | relevance | path

Searched refs:UINT32_C (Results 1 – 25 of 34) sorted by relevance

12

/llvm-project-15.0.7/compiler-rt/test/builtins/Unit/
H A Ddivsf3_test.c30 if (test__divsf3(makeQNaN32(), 3.F, UINT32_C(0x7fc00000))) in main()
33 if (test__divsf3(makeNaN32(UINT32_C(0x123)), 3.F, UINT32_C(0x7fc00000))) in main()
36 if (test__divsf3(3.F, makeQNaN32(), UINT32_C(0x7fc00000))) in main()
39 if (test__divsf3(3.F, makeNaN32(UINT32_C(0x123)), UINT32_C(0x7fc00000))) in main()
43 if (test__divsf3(makeInf32(), 3.F, UINT32_C(0x7f800000))) in main()
46 if (test__divsf3(makeInf32(), -3.F, UINT32_C(0xff800000))) in main()
62 if (test__divsf3(+0x0.0p+0F, makeInf32(), UINT32_C(0x0))) in main()
69 if (test__divsf3(+1.F, +0x0.0p+0F, UINT32_C(0x7f800000))) in main()
72 if (test__divsf3(+1.F, -0x0.0p+0F, UINT32_C(0xff800000))) in main()
75 if (test__divsf3(-1.F, +0x0.0p+0F, UINT32_C(0xff800000))) in main()
[all …]
H A Dextendhfsf2_test.c28 UINT32_C(0x7fc00000))) in main()
32 UINT32_C(0x7ff00000))) in main()
36 UINT32_C(0x7f800000))) in main()
40 UINT32_C(0xff800000))) in main()
44 UINT32_C(0x00000000))) in main()
48 UINT32_C(0x80000000))) in main()
51 UINT32_C(0x40490000))) in main()
54 UINT32_C(0xc0490000))) in main()
57 UINT32_C(0x45cc4000))) in main()
60 UINT32_C(0x3f800000))) in main()
[all …]
H A Dfixunstfsi_test.c32 if (test__fixunstfsi(makeInf128(), UINT32_C(0xffffffff))) in main()
34 if (test__fixunstfsi(0, UINT32_C(0x0))) in main()
36 if (test__fixunstfsi(0x1.23456789abcdefp+5, UINT32_C(0x24))) in main()
38 if (test__fixunstfsi(0x1.23456789abcdefp-3, UINT32_C(0x0))) in main()
40 if (test__fixunstfsi(0x1.23456789abcdefp+20, UINT32_C(0x123456))) in main()
42 if (test__fixunstfsi(0x1.23456789abcdefp+40, UINT32_C(0xffffffff))) in main()
44 if (test__fixunstfsi(0x1.23456789abcdefp+256, UINT32_C(0xffffffff))) in main()
46 if (test__fixunstfsi(-0x1.23456789abcdefp+3, UINT32_C(0x0))) in main()
H A Dtrunctfsf2_test.c34 UINT32_C(0x7fc00000))) in main()
38 UINT32_C(0x7fc08000))) in main()
42 UINT32_C(0x7f800000))) in main()
45 if (test__trunctfsf2(0.0L, UINT32_C(0x0))) in main()
49 UINT32_C(0x4211d156))) in main()
52 UINT32_C(0x3b71e9e2))) in main()
55 UINT32_C(0x7f800000))) in main()
58 UINT32_C(0x0))) in main()
H A Dextendsftf2_test.c39 if (test__extendsftf2(makeNaN32(UINT32_C(0x410000)), in main()
H A Dtruncsfhf2_test.c31 if (test__truncsfhf2(makeNaN32(UINT32_C(0x8000)), in main()
/llvm-project-15.0.7/llvm/unittests/Support/
H A DScaledNumberTest.cpp287 EXPECT_EQ(0, compare(UINT32_C(0), 0, UINT32_C(0), 1)); in TEST()
288 EXPECT_EQ(0, compare(UINT32_C(0), 0, UINT32_C(0), -10)); in TEST()
289 EXPECT_EQ(0, compare(UINT32_C(0), 0, UINT32_C(0), 20)); in TEST()
293 EXPECT_EQ(0, compare(UINT32_C(8), 0, UINT32_C(8), 0)); in TEST()
294 EXPECT_EQ(0, compare(UINT32_C(8), 0, UINT32_C(4), 1)); in TEST()
295 EXPECT_EQ(0, compare(UINT32_C(8), 0, UINT32_C(2), 2)); in TEST()
296 EXPECT_EQ(0, compare(UINT32_C(8), 0, UINT32_C(1), 3)); in TEST()
297 EXPECT_EQ(-1, compare(UINT32_C(0), 0, UINT32_C(1), 3)); in TEST()
298 EXPECT_EQ(-1, compare(UINT32_C(7), 0, UINT32_C(1), 3)); in TEST()
300 EXPECT_EQ(1, compare(UINT32_C(9), 0, UINT32_C(1), 3)); in TEST()
[all …]
/llvm-project-15.0.7/libcxx/include/__charconv/
H A Dtables.h89 UINT32_C(0), UINT32_C(10), UINT32_C(100), UINT32_C(1000), UINT32_C(10000),
90 …UINT32_C(100000), UINT32_C(1000000), UINT32_C(10000000), UINT32_C(100000000), UINT32_C(1000000000)…
/llvm-project-15.0.7/compiler-rt/lib/builtins/ppc/
H A Dfixtfdi.c16 (uint32_t)(hibits.x >> 32) & UINT32_C(0x7fffffff); in __fixtfdi()
17 const uint32_t absHighWordMinusOne = absHighWord - UINT32_C(0x3ff00000); in __fixtfdi()
20 if (UINT32_C(0x03f00000) > absHighWordMinusOne) { in __fixtfdi()
H A Dfixunstfdi.c15 (uint32_t)(hibits.x >> 32) - UINT32_C(0x3ff00000); in __fixunstfdi()
18 if (UINT32_C(0x04000000) > highWordMinusOne) { in __fixunstfdi()
H A Dgcc_qmul.c12 static const uint32_t infinityHi = UINT32_C(0x7ff00000); in __gcc_qmul()
H A Dgcc_qdiv.c12 static const uint32_t infinityHi = UINT32_C(0x7ff00000); in __gcc_qdiv()
H A Dgcc_qsub.c12 static const uint32_t infinityHi = UINT32_C(0x7ff00000); in __gcc_qsub()
H A Dgcc_qadd.c12 static const uint32_t infinityHi = UINT32_C(0x7ff00000); in __gcc_qadd()
/llvm-project-15.0.7/clang/test/C/drs/
H A Ddr209.c25 #elif UINT32_C(0) != 0U
58 (void)_Generic(UINT32_C(0), __typeof__(+(uint_least32_t){0}) : 1); in dr209()
/llvm-project-15.0.7/lld/test/ELF/
H A Ddebug-dead-reloc-32.s20 ## Resolved to UINT32_C(-2), with the addend ignored.
21 ## UINT32_C(-1) is a reserved value (base address selection entry) which can't be used.
/llvm-project-15.0.7/compiler-rt/lib/builtins/
H A Dfp_trunc.h21 #define SRC_REP_C UINT32_C
49 #define DST_REP_C UINT32_C
H A Dfp_extend.h22 #define SRC_REP_C UINT32_C
60 #define DST_REP_C UINT32_C
/llvm-project-15.0.7/libcxx/test/libcxx/depr/depr.c.headers/
H A Dstdint_h.std_types_t.compile.pass.cpp249 #ifndef UINT32_C
250 #error UINT32_C not defined
H A Dstdint_h.xopen_source.compile.pass.cpp246 #ifndef UINT32_C
247 #error UINT32_C not defined
/llvm-project-15.0.7/llvm/include/llvm-c/
H A DDataTypes.h37 #if !defined(UINT32_C)
/llvm-project-15.0.7/libcxx/test/std/depr/depr.c.headers/
H A Dstdint_h.pass.cpp282 #ifndef UINT32_C in main()
283 #error UINT32_C not defined in main()
/llvm-project-15.0.7/libcxx/test/std/language.support/cstdint/cstdint.syn/
H A Dcstdint.pass.cpp283 #ifndef UINT32_C in main()
284 #error UINT32_C not defined in main()
/llvm-project-15.0.7/clang/test/Preprocessor/
H A Dstdint.c1602 UINT32_C_(0) UINT32_C(0)
/llvm-project-15.0.7/clang/lib/Headers/
H A Dstdint.h378 # define UINT32_C(v) __uint_c(v, __int32_c_suffix) macro
381 # define UINT32_C(v) v ## U macro
623 # define UINT32_MAX UINT32_C(4294967295)

12