]> gcc.gnu.org Git - gcc.git/commit
C-SKY: Add conditions for ceil etc patterns.
authorXianmiao Qu <cooper.qu@linux.alibaba.com>
Thu, 27 Oct 2022 09:26:54 +0000 (17:26 +0800)
committerXianmiao Qu <cooper.qu@linux.alibaba.com>
Tue, 10 Jan 2023 11:52:24 +0000 (19:52 +0800)
commit288b18bf0739a83609e720e8d263181c4ec4d86c
tree1df854e7907cc0c40acefdec1702b6dd649225e5
parent8b7c12d83ccb6565d1f4532f9669c33ebbafaef8
C-SKY: Add conditions for ceil etc patterns.

The ceil etc functions can be only inlined as instruction when
they can raise the "inexact" exception. Without the adding
conditions, it will cause the "gcc.dg/torture/builtin-fp-int-inexact-c2x.c"
etc cases fails.

gcc/
* config/csky/csky_insn_fpuv3.md (l<frm_pattern><fixsuop><mode>si2): Test
flag_fp_int_builtin_inexact || !flag_trapping_math.
(<frm_pattern><mode>2): Likewise.
gcc/config/csky/csky_insn_fpuv3.md
This page took 0.054176 seconds and 5 git commands to generate.