2014-02-23 David Holsgrove <david.holsgrove@xilinx.com>
authoreager <eager@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 23 Feb 2014 18:36:38 +0000 (18:36 +0000)
committereager <eager@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 23 Feb 2014 18:36:38 +0000 (18:36 +0000)
commit96a9db22580aa1e09a59ec0b6f7913b14bb4a2ae
tree489ca9896a54997b5f3351776fd6c7cfda7883b5
parente956fd9c3ea37216938553ed5cb99df159640357
2014-02-23  David Holsgrove <david.holsgrove@xilinx.com>

* config/microblaze/predicates.md: Add cmp_op predicate.
* config/microblaze/microblaze.md: Add branch_compare instruction
which uses cmp_op predicate and emits cmp insn before branch.
* config/microblaze/microblaze.c (microblaze_emit_compare): Rename
to microblaze_expand_conditional_branch and consolidate logic.
(microblaze_expand_conditional_branch): emit branch_compare
insn instead of handling cmp op separate from branch insn.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208055 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config/microblaze/microblaze.c
gcc/config/microblaze/microblaze.md
gcc/config/microblaze/predicates.md