epiphany.md (GPR_1): New constant.
authorJoern Rennecke <joern.rennecke@embecosm.com>
Mon, 8 Apr 2013 15:42:10 +0000 (15:42 +0000)
committerJoern Rennecke <amylaar@gcc.gnu.org>
Mon, 8 Apr 2013 15:42:10 +0000 (16:42 +0100)
commit105766f3920ecdf28d19e1a322b1a58ba2bebf85
tree2114d1b3d8346955394529c27818c0943ca99378
parent1006463067f23fcc6b189ed157ce7d60b71efede
epiphany.md (GPR_1): New constant.

        * config/epiphany/epiphany.md (GPR_1): New constant.
        (define_expand "mov<mode>cc): FAIL if gen_compare_reg returned 0.
        * config/epiphany/epiphany.c (gen_compare_reg):
        For flag_finite_math_only, avoid swapping operands when r0 and/or r1
        is already in place.
        Use GPR_0 / GPR_1 instead of 0/1 for r0/r1 register numbers.
        Don't require being called during rtl expansion; If y operlaps r0,
        return 0.
        (epiphany_compute_frame_size, epiphany_expand_prologue): Use GPR_1.
        (epiphany_expand_epilogue): Likewise.

From-SVN: r197586
gcc/ChangeLog
gcc/config/epiphany/epiphany.c
gcc/config/epiphany/epiphany.md