From: David Holsgrove Subject: [PATCH 3/8] [Patch, microblaze]: Extend jump insn to accept bri to SYMBOL_REFS Current insn checks if operand is a REG - if so, uses br else it bri to %l0 - using a label_ref print operand Check if operand is a SYMBOL_REF, and if so, use %0 Changelog 2013-03-18 David Holsgrove * gcc/config/microblaze/microblaze.md (jump): Account for jumps to SYMBOL_REFs. Signed-off-by: David Holsgrove Upstream-Status: Pending diff --git a/gcc/config/microblaze/microblaze.md b/gcc/config/microblaze/microblaze.md index 55cc730..49d8f01 100644 --- a/gcc/config/microblaze/microblaze.md +++ b/gcc/config/microblaze/microblaze.md @@ -1729,6 +1729,8 @@ { if (GET_CODE (operands[0]) == REG) return "br%?\t%0"; + else if (GET_CODE (operands[0]) == SYMBOL_REF) + return "bri%?\t%0"; else return "bri%?\t%l0"; } -- 1.7.5.4