sparc.md (umulsidi3, mulsidi3): Avoid using const_umulsidi3_sp32 and const_mulsidi3_sp32 on 64bit targets where...

2003-04-24  Alexander Kabaev <kan@FreeBSD.ORG>

	* config/sparc/sparc.md (umulsidi3, mulsidi3): Avoid using
	const_umulsidi3_sp32 and const_mulsidi3_sp32 on 64bit targets
	where they might be not present. Use their _sp64 equivalent
	instead.

From-SVN: r66047
This commit is contained in:
Alexander Kabaev 2003-04-24 19:15:29 +00:00 committed by Loren J. Rittle
parent 019238b759
commit b746b8cb0a
2 changed files with 15 additions and 2 deletions

View File

@ -1,3 +1,10 @@
2003-04-24 Alexander Kabaev <kan@FreeBSD.ORG>
* config/sparc/sparc.md (umulsidi3, mulsidi3): Avoid using
const_umulsidi3_sp32 and const_mulsidi3_sp32 on 64bit targets
where they might be not present. Use their _sp64 equivalent
instead.
Thu Apr 24 20:42:12 CEST 2003 Jan Hubicka <jh@suse.cz>
* i386.md (cvtsi2sdq): Fix typo in previous patch.

View File

@ -5289,9 +5289,12 @@
if (TARGET_V8PLUS)
emit_insn (gen_const_mulsidi3_v8plus (operands[0], operands[1],
operands[2]));
else
else if (TARGET_ARCH32)
emit_insn (gen_const_mulsidi3_sp32 (operands[0], operands[1],
operands[2]));
else
emit_insn (gen_const_mulsidi3_sp64 (operands[0], operands[1],
operands[2]));
DONE;
}
if (TARGET_V8PLUS)
@ -5495,9 +5498,12 @@
if (TARGET_V8PLUS)
emit_insn (gen_const_umulsidi3_v8plus (operands[0], operands[1],
operands[2]));
else
else if (TARGET_ARCH32)
emit_insn (gen_const_umulsidi3_sp32 (operands[0], operands[1],
operands[2]));
else
emit_insn (gen_const_umulsidi3_sp64 (operands[0], operands[1],
operands[2]));
DONE;
}
if (TARGET_V8PLUS)