Home
last modified time | relevance | path

Searched refs:signBit (Results 1 – 21 of 21) sorted by relevance

/llvm-project-15.0.7/compiler-rt/test/builtins/Unit/
H A Dcompiler_rt_logbf_test.c43 rep_t x = signBit; in main()
46 if (test__compiler_rt_logbf(fromRep(signBit ^ x))) return 1; in main()
50 x = signBit | (signBit >> 1) | (signBit >> 2); in main()
53 if (test__compiler_rt_logbf(fromRep(signBit ^ x))) return 1; in main()
H A Dcompiler_rt_logb_test.c49 rep_t x = signBit; in main()
52 if (test__compiler_rt_logb(fromRep(signBit ^ x))) return 1; in main()
56 x = signBit | (signBit >> 1) | (signBit >> 2); in main()
59 if (test__compiler_rt_logb(fromRep(signBit ^ x))) return 1; in main()
H A Dcompiler_rt_logbl_test.c54 rep_t x = signBit; in main()
57 if (test__compiler_rt_logbl(fromRep(signBit ^ x))) return 1; in main()
61 x = signBit | (signBit >> 1) | (signBit >> 2); in main()
64 if (test__compiler_rt_logbl(fromRep(signBit ^ x))) return 1; in main()
/llvm-project-15.0.7/compiler-rt/lib/builtins/
H A Dfloatsisf.c31 sign = signBit; in __floatsisf()
47 if (round > signBit) in __floatsisf()
49 if (round == signBit) in __floatsisf()
H A Dfloatunsisf.c40 if (round > signBit) in __floatunsisf()
42 if (round == signBit) in __floatunsisf()
H A Dfp_lib.h217 #define signBit (REP_C(1) << (significandBits + exponentBits)) macro
218 #define absMask (signBit - 1U)
281 if (((rep & signBit) == 0) || (x != x)) { in __compiler_rt_logbX()
288 return fromRep(infRep | signBit); in __compiler_rt_logbX()
325 const rep_t sign = rep & signBit; in __compiler_rt_scalbnX()
H A Dfp_mul_impl.inc19 const rep_t productSign = (toRep(a) ^ toRep(b)) & signBit;
123 if (productLo > signBit)
125 if (productLo == signBit)
H A Dnegsf2.c16 COMPILER_RT_ABI fp_t __negsf2(fp_t a) { return fromRep(toRep(a) ^ signBit); } in __negsf2()
H A Dnegdf2.c16 COMPILER_RT_ABI fp_t __negdf2(fp_t a) { return fromRep(toRep(a) ^ signBit); } in __negdf2()
H A Dsubtf3.c21 return __addtf3(a, fromRep(toRep(b) ^ signBit)); in __subtf3()
H A Dsubdf3.c18 return __adddf3(a, fromRep(toRep(b) ^ signBit)); in __subdf3()
H A Dsubsf3.c18 return __addsf3(a, fromRep(toRep(b) ^ signBit)); in __subsf3()
H A Dfp_add_impl.inc35 if ((toRep(a) ^ toRep(b)) == signBit)
82 const rep_t resultSign = aRep & signBit;
83 const bool subtraction = (aRep ^ bRep) & signBit;
H A Dfloatditf.c31 sign = signBit; in __floatditf()
H A Dfloatsitf.c31 sign = signBit; in __floatsitf()
H A Dfloatsidf.c31 sign = signBit; in __floatsidf()
H A Dfp_fixuint_impl.inc20 const int sign = aRep & signBit ? -1 : 1;
H A Dfp_fixint_impl.inc22 const fixint_t sign = aRep & signBit ? -1 : 1;
H A Dfp_div_impl.inc39 const rep_t quotientSign = (toRep(a) ^ toRep(b)) & signBit;
/llvm-project-15.0.7/llvm/lib/Target/ARM/MCTargetDesc/
H A DARMAsmBackend.cpp627 uint32_t signBit = (offset & 0x800000) >> 23; in adjustFixupValue() local
629 uint32_t J1Bit = (I1Bit ^ 0x1) ^ signBit; in adjustFixupValue()
631 uint32_t J2Bit = (I2Bit ^ 0x1) ^ signBit; in adjustFixupValue()
635 uint32_t FirstHalf = (((uint16_t)signBit << 10) | (uint16_t)imm10Bits); in adjustFixupValue()
663 uint32_t signBit = (offset & 0x400000) >> 22; in adjustFixupValue() local
665 uint32_t J1Bit = (I1Bit ^ 0x1) ^ signBit; in adjustFixupValue()
667 uint32_t J2Bit = (I2Bit ^ 0x1) ^ signBit; in adjustFixupValue()
671 uint32_t FirstHalf = (((uint16_t)signBit << 10) | (uint16_t)imm10HBits); in adjustFixupValue()
/llvm-project-15.0.7/clang/test/CodeGen/
H A Dstruct-init.c29 const uint32x2_t signBit = { (uint2) 0x80000000 }; in foo() local