[PATCH] D43105: [RISCV] Enable __int128_t and uint128_t through clang flag

Kito Cheng via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Feb 8 18:33:04 PST 2018


kito-cheng added a comment.

Hi Eli:

We need that because compiler-rt implement 128 bits soft floating point with int128_t, and RISC-V need that but RV32 doesn't support int128_t, we know it's can be just return true to support that. but we don't want to bring any ABI contemptible issue between GCC and Clang/LLVM. Here is another direction is make GCC support int128_t for RV32, but it's hard to support that in GCC for all 32 bits target[1].

[1] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60846


Repository:
  rC Clang

https://reviews.llvm.org/D43105





More information about the cfe-commits mailing list