Commit 0c85dbfd by Eric Botcazou Committed by Eric Botcazou

re PR target/10067 (GCC-3.2.2 outputs invalid asm on sparc64)

	PR target/10067
	* config/sparc/sparc.md (jump pattern): Correct order
	when issuing the annuling marker.

From-SVN: r64964
parent c54390c5
2003-03-28 Eric Botcazou <ebotcazou@libertysurf.fr>
PR target/10067
* config/sparc/sparc.md (jump pattern): Correct order
when issuing the annuling marker.
2003-03-28 Eric Botcazou <ebotcazou@libertysurf.fr>
PR c/8281
* config/sparc/sparc.md (movdi_insn_sp32_v9): Remove 'f-f' alternative.
(movdi reg/reg split): Match only on sparc32, and v9 when int regs.
......
......@@ -7252,7 +7252,7 @@
== INSN_ADDRESSES (INSN_UID (insn))))
return "b\t%l0%#";
else
return TARGET_V9 ? "ba,pt%*\t%%xcc, %l0%(" : "b%*\t%l0%(";
return TARGET_V9 ? "ba%*,pt\t%%xcc, %l0%(" : "b%*\t%l0%(";
}
[(set_attr "type" "uncond_branch")])
......
2003-03-28 Eric Botcazou <ebotcazou@libertysurf.fr>
* gcc.dg/ultrasp8.c: New test.
2003-03-28 Eric Botcazou <ebotcazou@libertysurf.fr>
* gcc.dg/ultrasp7.c: New test.
2003-03-28 Nathan Sidwell <nathan@codesourcery.com>
......
/* PR target/10067 */
/* Originator: <dat94ali@ludat.lth.se> */
/* { dg-do compile { target sparc-*-* } } */
/* { dg-options "-O2 -m64 -mtune=supersparc" } */
struct _reent;
extern unsigned long __malloc_trim_threshold;
extern unsigned long __malloc_top_pad;
int _mallopt_r(struct _reent *reent_ptr, int param_number, int value)
{
__malloc_lock(reent_ptr);
switch(param_number)
{
case -1:
__malloc_trim_threshold = value;
__malloc_unlock(reent_ptr);
return 1;
case -2:
__malloc_top_pad = value;
__malloc_unlock(reent_ptr);
return 1;
case -3:
__malloc_unlock(reent_ptr);
return 1;
case -4:
__malloc_unlock(reent_ptr);
return value == 0;
default:
__malloc_unlock(reent_ptr);
return 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