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
4082ab0f
Commit
4082ab0f
authored
Mar 08, 2001
by
Richard Kenner
Committed by
Richard Kenner
Mar 08, 2001
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* config/i386/i386.md (clrstrsi): Call ix86_set_move_mem_attrs.
From-SVN: r40319
parent
553bf438
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
3 deletions
+20
-3
gcc/ChangeLog
+4
-0
gcc/config/i386/i386.md
+16
-3
No files found.
gcc/ChangeLog
View file @
4082ab0f
Thu Mar 8 06:32:50 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
* config/i386/i386.md (clrstrsi): Call ix86_set_move_mem_attrs.
2001-03-08 Alexandre Oliva <aoliva@redhat.com>
* configure.in (enable_shared): Support per-package shared-library
...
...
gcc/config/i386/i386.md
View file @
4082ab0f
...
...
@@ -11506,6 +11506,9 @@
rtx destreg, zeroreg, countreg;
int align = 0;
int count = -1;
rtx insns;
start_sequence ();
if (GET_CODE (operands[2]) == CONST_INT)
align = INTVAL (operands[2]);
...
...
@@ -11519,7 +11522,7 @@
destreg = copy_to_mode_reg (Pmode, XEXP (operands[0], 0));
emit_insn (gen_cld());
emit_insn (gen_cld
());
/* When optimizing for size emit simple rep ; movsb instruction for
counts not divisible by 4. */
...
...
@@ -11562,10 +11565,13 @@
library version, since it is usually equally fast and result in
shorter code. */
if (!TARGET_INLINE_ALL_STRINGOPS && align < 4)
FAIL;
{
end_sequence ();
FAIL;
}
if (TARGET_SINGLE_STRINGOP)
emit_insn (gen_cld());
emit_insn (gen_cld
());
countreg2 = gen_reg_rtx (SImode);
countreg = copy_to_mode_reg (SImode, operands[1]);
...
...
@@ -11659,6 +11665,13 @@
LABEL_NUSES (label) = 1;
}
}
insns = get_insns ();
end_sequence ();
ix86_set_move_mem_attrs (insns, operands[0], operands[0], destreg, destreg);
emit_insns (insns);
DONE;
}")
...
...
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