diff options
author | Maciej W. Rozycki <macro@imgtec.com> | 2016-11-15 15:04:10 +0000 |
---|---|---|
committer | Maciej W. Rozycki <macro@gcc.gnu.org> | 2016-11-15 15:04:10 +0000 |
commit | 2cf63121e9640348fa3d917dfb247da545255c61 (patch) | |
tree | 2f35928d460c861c13f39e0a75ac296e83cc718c /gcc/ChangeLog | |
parent | 2cbfb2091148947e85bbe2e3a4093541a1e99110 (diff) | |
download | gcc-2cf63121e9640348fa3d917dfb247da545255c61.zip gcc-2cf63121e9640348fa3d917dfb247da545255c61.tar.gz gcc-2cf63121e9640348fa3d917dfb247da545255c61.tar.bz2 |
MIPS/GCC: Mark trailing labels with `.insn'
gcc/
* config/mips/mips.c (mips16_emit_constants): Emit `consttable'
insn at the beginning of the constant pool.
(mips_insert_insn_pseudos): New function.
(mips_machine_reorg2): Call it.
* config/mips/mips.md (unspec): Add UNSPEC_CONSTTABLE and
UNSPEC_INSN_PSEUDO enum values.
(insn_pseudo, consttable): New insns.
gcc/testsuite/
* gcc.target/mips/insn-casesi.c: New test case.
* gcc.target/mips/insn-pseudo-1.c: New test case.
* gcc.target/mips/insn-pseudo-2.c: New test case.
* gcc.target/mips/insn-pseudo-3.c: New test case.
* gcc.target/mips/insn-pseudo-4.c: New test case.
* gcc.target/mips/insn-tablejump.c: New test case.
From-SVN: r242424
Diffstat (limited to 'gcc/ChangeLog')
-rw-r--r-- | gcc/ChangeLog | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c4a660f..b91bf89 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,13 @@ +2016-11-15 Maciej W. Rozycki <macro@imgtec.com> + + * config/mips/mips.c (mips16_emit_constants): Emit `consttable' + insn at the beginning of the constant pool. + (mips_insert_insn_pseudos): New function. + (mips_machine_reorg2): Call it. + * config/mips/mips.md (unspec): Add UNSPEC_CONSTTABLE and + UNSPEC_INSN_PSEUDO enum values. + (insn_pseudo, consttable): New insns. + 2016-11-15 Michael Matz <matz@suse.de> PR missed-optimization/77881 |