aboutsummaryrefslogtreecommitdiff
path: root/gcc/d
diff options
context:
space:
mode:
authorXi Ruoyao <xry111@xry111.site>2022-11-04 15:12:22 +0800
committerXi Ruoyao <xry111@xry111.site>2022-11-06 15:56:52 +0800
commit3628025ac604cf76a3fa30ffcc5899f01d3ffee4 (patch)
tree047eb5219aa588b217cbbf85d48e11e6e5fe1e1b /gcc/d
parent07b0096e5b6749d88f5a22f694401abd6aaca551 (diff)
downloadgcc-3628025ac604cf76a3fa30ffcc5899f01d3ffee4.zip
gcc-3628025ac604cf76a3fa30ffcc5899f01d3ffee4.tar.gz
gcc-3628025ac604cf76a3fa30ffcc5899f01d3ffee4.tar.bz2
LoongArch: Add fcopysign instructions
Add fcopysign.{s,d} with the names copysign{sf,df}3 so GCC will expand __builtin_copysign{f,} to a single instruction. Link: https://sourceware.org/pipermail/libc-alpha/2022-November/143177.html gcc/ChangeLog: * config/loongarch/loongarch.md (UNSPEC_FCOPYSIGN): New unspec. (type): Add fcopysign. (copysign<mode>3): New instruction template. gcc/testsuite/ChangeLog: * gcc.target/loongarch/fcopysign.c: New test.
Diffstat (limited to 'gcc/d')
0 files changed, 0 insertions, 0 deletions