summaryrefslogtreecommitdiff
path: root/gcc/config/mmix/constraints.md
diff options
context:
space:
mode:
authorhp <hp@138bc75d-0d04-0410-961f-82ee72b054a4>2012-10-22 09:25:02 +0000
committerhp <hp@138bc75d-0d04-0410-961f-82ee72b054a4>2012-10-22 09:25:02 +0000
commit4d66cf0196b97053a3291f954879871578c45429 (patch)
tree9dd3ba4f5ea1d10b1b85ceea37b5854a8590184f /gcc/config/mmix/constraints.md
parent9c2ac5939f2f4115d7052af9aba886bd3773d28a (diff)
downloadgcc-4d66cf0196b97053a3291f954879871578c45429.tar.gz
* config/mmix/mmix.md ("nonlocal_goto_receiver"): Refer to the
frame-pointer as an operand. ("*nonlocal_goto_receiver_expanded"): Ditto. Use mmix_output_register_setting instead of naked output_asm_insn for the offset from the frame-pointer to the saved rO. * config/mmix/mmix.c (mmix_output_register_setting): Emit NEGU for values -255..0. * config/mmix/predicates.md ("frame_pointer_operand"): New. * config/mmix/constraints.md ("Yf"): New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@192677 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/mmix/constraints.md')
-rw-r--r--gcc/config/mmix/constraints.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/config/mmix/constraints.md b/gcc/config/mmix/constraints.md
index 954cddaa5af..c1d28e858c8 100644
--- a/gcc/config/mmix/constraints.md
+++ b/gcc/config/mmix/constraints.md
@@ -110,3 +110,7 @@
(define_address_constraint "U"
"@internal"
(match_operand 0 "mmix_address_operand"))
+
+(define_constraint "Yf"
+ "@internal"
+ (match_operand 0 "frame_pointer_operand"))