Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
e8375399
Commit
e8375399
authored
Sep 15, 1992
by
Michael Meissner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Do cld before each string move/compare.
From-SVN: r2125
parent
7436f435
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
gcc/config/i386/i386.md
+4
-0
No files found.
gcc/config/i386/i386.md
View file @
e8375399
...
...
@@ -3912,6 +3912,7 @@
{
rtx xops[2];
output_asm_insn (\"cld\", operands);
if (GET_CODE (operands[2]) == CONST_INT)
{
if (INTVAL (operands[2]) & ~0x03)
...
...
@@ -3989,6 +3990,7 @@
label = gen_label_rtx ();
output_asm_insn (
\"
cld
\"
, operands);
output_asm_insn (AS2 (xor%B0,%0,%0), operands);
output_asm_insn (
\"
repz
\;
cmps%B2
\"
, operands);
output_asm_insn (
\"
je %l0
\"
,
&label);
...
...
@@ -4022,6 +4024,7 @@
xops
[
0
]
= gen_rtx (REG, QImode, 0);
xops
[
1
]
= CONST0_RTX (QImode);
output_asm_insn (
\"
cld
\"
, operands);
output_asm_insn (AS2 (test%B0,%1,%0), xops);
return
\"
repz
\;
cmps%B2
\"
;
}")
...
...
@@ -4183,6 +4186,7 @@
xops
[
0
]
= operands
[
0
]
;
xops
[
1
]
= constm1_rtx;
output_asm_insn (
\"
cld
\"
, operands);
output_asm_insn (AS2 (mov%L0,%1,%0), xops);
return
\"
repnz
\;
scas%B2
\"
;
}")
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment