epiphany.opt (mfp-iarith): New option.
authorJoern Rennecke <joern.rennecke@embecosm.com>
Wed, 28 Nov 2012 16:10:18 +0000 (16:10 +0000)
committerJoern Rennecke <amylaar@gcc.gnu.org>
Wed, 28 Nov 2012 16:10:18 +0000 (16:10 +0000)
commit553bfa06c96d139763245966a61e2532e7a55f00
treef716ef84e40d55d2c79794f630218d491b9f364c
parente9aff0f685e9808d26f7a4509baac1ce42ff4b2c
epiphany.opt (mfp-iarith): New option.

        * config/epiphany/epiphany.opt (mfp-iarith): New option.
        * config/epiphany/epiphgany.md (addsi3): Check for TARGET_FP_IARITH.
        (subsi3, iadd, isub): Rename to ..
        (subsi3_i, iadd_i, isub_i): .. This.
        (subsi3, iadd, isub): New define_expands.

        * config/epiphany/epiphgany.md (attribute type): Add v2fp.
        (attribute fp_mode): Test for v2fp.
        (<float_operation:insn_opname>v2sf3_i): Change type to v2fp.
        * config/epiphany/epiphgany-sched.md (fp_arith_nearest, fp_arith_trunc):
        Combine to ..
        (fp_arith): .. this.
        (v2fp_arith): New insn reservation.

From-SVN: r193896
gcc/ChangeLog
gcc/config/epiphany/epiphany-sched.md
gcc/config/epiphany/epiphany.md
gcc/config/epiphany/epiphany.opt