[Patch][GCC][middle-end] - Generate FRINTZ for (double)(int) under -ffast-math on...
authorAndre Simoes Dias Vieira <andre.simoesdiasvieira@arm.com>
Wed, 20 Oct 2021 12:12:09 +0000 (13:12 +0100)
committerAndre Vieira <andre.simoesdiasvieira@arm.com>
Wed, 20 Oct 2021 12:14:39 +0000 (13:14 +0100)
commit914045dff10fbd27de27b90a0ac78a0058b2c86e
tree5d2d2b018d25bd149f22f9334b282a286684e465
parentac5e46563817f4f1bd786be1d21b85d18e61bc0c
[Patch][GCC][middle-end] - Generate FRINTZ for (double)(int) under -ffast-math on aarch64

20-10-2021  Andre Vieira  <andre.simoesdiasvieira@arm.com>
    Jirui Wu  <jirui.wu@arm.com>
gcc/ChangeLog:

* match.pd: Generate IFN_TRUNC.

gcc/testsuite/ChangeLog:

* gcc.target/aarch64/merge_trunc1.c: New test.
gcc/match.pd
gcc/testsuite/gcc.target/aarch64/merge_trunc1.c [new file with mode: 0644]