Commit 221a9f65 by Jim Wilson Committed by Jim Wilson

Fix core dump while compiling gdb-4.16.

	* alpha.md (extzv): Correct check for valid operand[2] values.

From-SVN: r18920
parent a7ebd547
Tue Mar 31 16:57:33 1998 Jim Wilson <wilson@cygnus.com> Tue Mar 31 16:57:33 1998 Jim Wilson <wilson@cygnus.com>
* alpha.md (extzv): Correct check for valid operand[2] values.
* profile.c (branch_prob): Add code to recognize HPPA tablejump entry * profile.c (branch_prob): Add code to recognize HPPA tablejump entry
branch. branch.
......
...@@ -4880,7 +4880,11 @@ ...@@ -4880,7 +4880,11 @@
" "
{ {
/* We can do 8, 16, 32 and 64 bit fields, if aligned on byte boundaries. */ /* We can do 8, 16, 32 and 64 bit fields, if aligned on byte boundaries. */
if (INTVAL (operands[2]) % 8 != 0 || INTVAL (operands[3]) % 8 != 0) if (INTVAL (operands[3]) % 8 != 0
|| (INTVAL (operands[2]) != 8
&& INTVAL (operands[2]) != 16
&& INTVAL (operands[2]) != 32
&& INTVAL (operands[2]) != 64))
FAIL; FAIL;
if (GET_CODE (operands[1]) == MEM) if (GET_CODE (operands[1]) == MEM)
......
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