Commit f50e5fcc by Bernd Schmidt Committed by Bernd Schmidt

Fix c6x-uclinux build failure.

	* config/c6x/constraints.md (S3): New constraint.
	* config/c6x/c6x.md (real_jump): Use it.

From-SVN: r221731
parent 04f69fda
2015-03-27 Bernd Schmidt <bernds@codesourcery.com>
PR target/65052
* config/c6x/constraints.md (S3): New constraint.
* config/c6x/c6x.md (real_jump): Use it.
2015-03-26 Jan Hubicka <hubicka@ucw.cz>
PR middle-end/65595
......
......@@ -1519,7 +1519,7 @@
;; -------------------------------------------------------------------------
(define_insn "real_jump"
[(unspec [(match_operand 0 "c6x_jump_operand" "a,b,s") (const_int 0)]
[(unspec [(match_operand 0 "c6x_jump_operand" "a,b,S3") (const_int 0)]
UNSPEC_REAL_JUMP)]
""
{
......
......@@ -160,6 +160,11 @@ not C64X or higher).")
Any SYMBOL_REF or LABEL_REF."
(ior (match_code "symbol_ref") (match_code "label_ref")))
(define_constraint "S3"
"Matches a symbolic integer constant, even if invalid for PIC."
(and (match_test "CONSTANT_P (op)")
(match_test "!CONST_SCALAR_INT_P (op)")))
(define_constraint "Si"
"@internal
Any immediate value, unless it matches the S0 constraint."
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment