* i386.md (doubleword shifts): Avoid namespace pollution.

From-SVN: r24448
This commit is contained in:
Jeffrey A Law 1998-12-30 22:45:16 +00:00 committed by Jeff Law
parent de2c54aae1
commit f203c52060
2 changed files with 19 additions and 9 deletions

View File

@ -1,3 +1,7 @@
Wed Dec 30 23:38:55 1998 Jeffrey A Law (law@cygnus.com)
* i386.md (doubleword shifts): Avoid namespace pollution.
Wed Dec 30 23:00:28 1998 David O'Brien <obrien@NUXI.com>
* configure.in (FreeBSD ELF): Needs special crt files.

View File

@ -4701,11 +4701,13 @@ byte_xor_operation:
output_asm_insn (AS3_SHIFT_DOUBLE (shld%L3,%0,%2,%3), xops);
output_asm_insn (AS2 (sal%L2,%0,%2), xops);
output_asm_insn (AS2 (test%B0,%1,%b0), xops);
asm_fprintf (asm_out_file, \"\\tje %LLASHLDI%d\\n\", ashldi_label_number);
fputs (\"\\tje \", asm_out_file);
ASM_OUTPUT_INTERNAL_LABEL (asm_out_file, \"LASHLDI\", ashldi_label_number);
fputs (\"\\n\", asm_out_file);
output_asm_insn (AS2 (mov%L3,%2,%3), xops); /* Fast shift by 32 */
output_asm_insn (AS2 (xor%L2,%2,%2), xops);
asm_fprintf (asm_out_file, \"%LLASHLDI%d:\\n\", ashldi_label_number++);
ASM_OUTPUT_INTERNAL_LABEL (asm_out_file, \"LASHLDI\", ashldi_label_number);
ashldi_label_number++;
RET;
}")
@ -4889,12 +4891,14 @@ byte_xor_operation:
output_asm_insn (AS3_SHIFT_DOUBLE (shrd%L2,%0,%3,%2), xops);
output_asm_insn (AS2 (sar%L3,%0,%3), xops);
output_asm_insn (AS2 (test%B0,%1,%b0), xops);
asm_fprintf (asm_out_file, \"\\tje %LLASHRDI%d\\n\", ashrdi_label_number);
fputs (\"\\tje \", asm_out_file);
ASM_OUTPUT_INTERNAL_LABEL (asm_out_file, \"LASHRDI\", ashrdi_label_number);
fputs (\"\\n\", asm_out_file);
xops[1] = GEN_INT (31);
output_asm_insn (AS2 (mov%L2,%3,%2), xops);
output_asm_insn (AS2 (sar%L3,%1,%3), xops); /* shift by 32 */
asm_fprintf (asm_out_file, \"%LLASHRDI%d:\\n\", ashrdi_label_number++);
ASM_OUTPUT_INTERNAL_LABEL (asm_out_file, \"LASHRDI\", ashrdi_label_number);
ashrdi_label_number++;
RET;
}")
@ -5053,11 +5057,13 @@ byte_xor_operation:
output_asm_insn (AS3_SHIFT_DOUBLE (shrd%L2,%0,%3,%2), xops);
output_asm_insn (AS2 (shr%L3,%0,%3), xops);
output_asm_insn (AS2 (test%B0,%1,%b0), xops);
asm_fprintf (asm_out_file, \"\\tje %LLLSHRDI%d\\n\", lshrdi_label_number);
fputs (\"\\tje \", asm_out_file);
ASM_OUTPUT_INTERNAL_LABEL (asm_out_file, \"LLSHRDI\", lshrdi_label_number);
fputs (\"\\n\", asm_out_file);
output_asm_insn (AS2 (mov%L2,%3,%2), xops); /* Fast shift by 32 */
output_asm_insn (AS2 (xor%L3,%3,%3), xops);
asm_fprintf (asm_out_file, \"%LLLSHRDI%d:\\n\", lshrdi_label_number++);
ASM_OUTPUT_INTERNAL_LABEL (asm_out_file, \"LLSHRDI\", lshrdi_label_number);
lshrdi_label_number++;
RET;
}")