aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-inline.h
diff options
context:
space:
mode:
authorchenxiaolong <chenxiaolong@loongson.cn>2023-09-01 11:22:42 +0800
committerLulu Cheng <chenglulu@loongson.cn>2023-09-02 10:25:03 +0800
commit4e2d53c943400e8b5d49a7d5aab4a1ad046aefba (patch)
tree43111423e0a8fcd8f66815c4aa12b5bf4b9b6d62 /gcc/tree-inline.h
parent80907b03c8e72cdcd597f1359fda21163ec22107 (diff)
downloadgcc-4e2d53c943400e8b5d49a7d5aab4a1ad046aefba.zip
gcc-4e2d53c943400e8b5d49a7d5aab4a1ad046aefba.tar.gz
gcc-4e2d53c943400e8b5d49a7d5aab4a1ad046aefba.tar.bz2
LoongArch: Implement 128-bit floating point functions in gcc.
During implementation, float128_type_node is bound with the type "__float128" so that the compiler can correctly identify the type of the function. The "q" suffix is associated with the "f128" function, which makes GCC more flexible to support different user input cases, implementing functions such as __builtin_{huge_valq, infq, fabsq, copysignq, nanq, nansq}. gcc/ChangeLog: * config/loongarch/loongarch-builtins.cc (loongarch_init_builtins): Associate the __float128 type to float128_type_node so that it can be recognized by the compiler. * config/loongarch/loongarch-c.cc (loongarch_cpu_cpp_builtins): Add the flag "FLOAT128_TYPE" to gcc and associate a function with the suffix "q" to "f128". * doc/extend.texi:Added support for 128-bit floating-point functions on the LoongArch architecture. gcc/testsuite/ChangeLog: * gcc.target/loongarch/math-float-128.c: New test.
Diffstat (limited to 'gcc/tree-inline.h')
0 files changed, 0 insertions, 0 deletions