Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2286)

Unified Diff: gcc/gcc/config/i386/i386.md

Issue 2870084: [binutils] Use "scasb %nacl:(%rdi),%al,%r15" pseudocommand, not series of commands (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/nacl-toolchain.git
Patch Set: Created 10 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gcc/gcc/config/i386/i386.md
diff --git a/gcc/gcc/config/i386/i386.md b/gcc/gcc/config/i386/i386.md
index a29f022909e98dbf78c9ba02a5e62515825be23b..be9d78491424c098a631591b356faef05278c9c1 100644
--- a/gcc/gcc/config/i386/i386.md
+++ b/gcc/gcc/config/i386/i386.md
@@ -20368,9 +20368,7 @@
{
if (TARGET_NACL)
{
- /* Note: %rdi is used, but in reality it's memory read, not store */
- return "movl\t%%edi, %%edi\nleaq\t(%%r15,%%rdi), %%rdi\n"
- "repnz scasb"
+ return "repnz scasb %%nacl:(%%rdi),%%al,%%r15"
"\nmovl\t%%edi, %%edi";
}
else
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698