Commit 60418b5d by Bernd Schmidt Committed by Bernd Schmidt

c6x.md (indirect_jump_shadow): Tweak representation to make computed_jump_p return true.

	* config/c6x/c6x.md (indirect_jump_shadow): Tweak representation
	to make computed_jump_p return true.

From-SVN: r177968
parent e3aa9eba
2011-08-22 Bernd Schmidt <bernds@codesourcery.com>
* config/c6x/c6x.md (indirect_jump_shadow): Tweak representation
to make computed_jump_p return true.
2011-08-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
* configure.ac (GCC_PICFLAG_FOR_TARGET): Call it.
......
......@@ -1427,8 +1427,10 @@
(set_attr "cross" "y,n")
(set_attr "dest_regfile" "b")])
;; computed_jump_p returns true if it finds a constant; so use one in the
;; unspec.
(define_insn "indirect_jump_shadow"
[(set (pc) (unspec [(pc)] UNSPEC_JUMP_SHADOW))]
[(set (pc) (unspec [(const_int 1)] UNSPEC_JUMP_SHADOW))]
""
";; indirect jump occurs"
[(set_attr "type" "shadow")])
......
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