diff options
author | Sandra Loosemore <sandra@codesourcery.com> | 2014-04-22 22:14:42 -0400 |
---|---|---|
committer | Sandra Loosemore <sandra@gcc.gnu.org> | 2014-04-22 22:14:42 -0400 |
commit | aa22156410cb3056d4a56815173886f6a91b8e92 (patch) | |
tree | 94b327d57a1e3ba50f9368da22ed7e1625859ed1 /gcc/config/nios2/nios2-opts.h | |
parent | 5f056aaaf595a8919b9365324d6807779b768c78 (diff) | |
download | gcc-aa22156410cb3056d4a56815173886f6a91b8e92.tar.gz |
nios2.md (UNSPEC_ROUND): New.
2014-04-22 Sandra Loosemore <sandra@codesourcery.com>
gcc/
* config/nios2/nios2.md (UNSPEC_ROUND): New.
(lroundsfsi2): New.
* config/nios2/nios2.opt (mno-custom-round, mcustom-round=): New.
* config/nios2/nios2-opts.h (N2FPU_ALL_CODES): Add round.
* config/nios2/nios2.c (N2F_NO_ERRNO): Define.
(nios2_fpu_insn): Add entry for round.
(N2FPU_NO_ERRNO_P): Define.
(nios2_custom_check_insns): Add check for N2F_NO_ERRNO and
flag_errno_math.
* doc/invoke.texi (Nios II Options): Document -mcustom-round.
gcc/testsuite/
* gcc.target/nios2/custom-fp-conversion.c: Adjust to test that
lroundf generates custom round instruction, too.
From-SVN: r209670
Diffstat (limited to 'gcc/config/nios2/nios2-opts.h')
-rw-r--r-- | gcc/config/nios2/nios2-opts.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/nios2/nios2-opts.h b/gcc/config/nios2/nios2-opts.h index 95dbad14521..c33f2e5a4e2 100644 --- a/gcc/config/nios2/nios2-opts.h +++ b/gcc/config/nios2/nios2-opts.h @@ -42,7 +42,7 @@ along with GCC; see the file COPYING3. If not see \ N2FPU_CODE(floatis) N2FPU_CODE(floatus) \ N2FPU_CODE(floatid) N2FPU_CODE(floatud) \ - N2FPU_CODE(fixsi) N2FPU_CODE(fixsu) \ + N2FPU_CODE(round) N2FPU_CODE(fixsi) N2FPU_CODE(fixsu) \ N2FPU_CODE(fixdi) N2FPU_CODE(fixdu) \ N2FPU_CODE(fextsd) N2FPU_CODE(ftruncds) \ \ |