Commit 72c164b3 by David Edelsohn Committed by David Edelsohn

re PR target/24953 (RTL check: access of elt 1 of vector with last elt 0 in…

re PR target/24953 (RTL check: access of elt 1 of vector with last elt 0 in vrsave_operation_1, at config/rs6000/predicates.md:1041)

	PR target/24953
	* config/rs6000/predicates.md (vrsave_operation): Check
	UNSPEC_VOLATILE value.

From-SVN: r107311
parent b95605fb
2005-11-21 David Edelsohn <edelsohn@gnu.org>
PR target/24953
* config/rs6000/predicates.md (vrsave_operation): Check
UNSPEC_VOLATILE value.
2005-11-21 Jan Hubicka <jh@suse.cz> 2005-11-21 Jan Hubicka <jh@suse.cz>
PR tree-optimization/24653 PR tree-optimization/24653
......
...@@ -1034,7 +1034,8 @@ ...@@ -1034,7 +1034,8 @@
if (count <= 1 if (count <= 1
|| GET_CODE (XVECEXP (op, 0, 0)) != SET || GET_CODE (XVECEXP (op, 0, 0)) != SET
|| GET_CODE (SET_DEST (XVECEXP (op, 0, 0))) != REG || GET_CODE (SET_DEST (XVECEXP (op, 0, 0))) != REG
|| GET_CODE (SET_SRC (XVECEXP (op, 0, 0))) != UNSPEC_VOLATILE) || GET_CODE (SET_SRC (XVECEXP (op, 0, 0))) != UNSPEC_VOLATILE
|| XINT (SET_SRC (XVECEXP (op, 0, 0)), 1) != UNSPECV_SET_VRSAVE)
return 0; return 0;
dest_regno = REGNO (SET_DEST (XVECEXP (op, 0, 0))); dest_regno = REGNO (SET_DEST (XVECEXP (op, 0, 0)));
......
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