Displaying 2 results from an estimated 2 matches for "hasint128type".
2018 Jan 30
2
[compiler-rt] Support 128 bits soft-floating point without int128_t support
...compiler-rt recently, and I've got a problem
when adding soft float routine for rv32, RISC-V ABI required 128 bits
bits for long double, but it's implemented by int128_t, however rv32
don't support __int128_t.
Of cause, it not hard thing to support __int128_t by overriding
TargetInfo::hasInt128Type for LLVM, but its will cause some ABI
incompatible with GCC, because GCC don't support __int128_t for 32
bits target.
So I guess I've few option here:
1. Implement 128 bits soft-float with int64_t.
2. Add an option to force enable int128_t support during building
compiler-rt for rv32.
An...
2018 Jan 30
0
[compiler-rt] Support 128 bits soft-floating point without int128_t support
...#39;ve got a problem
> when adding soft float routine for rv32, RISC-V ABI required 128 bits
> bits for long double, but it's implemented by int128_t, however rv32
> don't support __int128_t.
>
> Of cause, it not hard thing to support __int128_t by overriding
> TargetInfo::hasInt128Type for LLVM, but its will cause some ABI
> incompatible with GCC, because GCC don't support __int128_t for 32
> bits target.
>
> So I guess I've few option here:
>
> 1. Implement 128 bits soft-float with int64_t.
> 2. Add an option to force enable int128_t support during b...