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

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

Issue 2891017: [gcc] Fix formatting issues. (Closed) Base URL: ssh://git@chromiumos-git/nacl-toolchain.git
Patch Set: tiny whitespace fixes 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 | « gcc/gcc/config/i386/i386.c ('k') | 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 3b434da94ad7592c9b230e293575d0b1e0f7e119..79e75fabd33274d7f563a3954c4e6220cdf54f41 100644
--- a/gcc/gcc/config/i386/i386.md
+++ b/gcc/gcc/config/i386/i386.md
@@ -2274,7 +2274,7 @@
(clobber (mem:BLK (scratch)))]
"TARGET_64BIT"
{
- gcc_assert (REGNO(operands[0]) != SP_REG || !TARGET_NACL);
+ gcc_assert (REGNO (operands[0]) != SP_REG || !TARGET_NACL);
if (REGNO (operands[0]) != BP_REG || !TARGET_NACL)
return "pop{q}\t%0";
else
@@ -2290,7 +2290,7 @@
(plus:DI (reg:DI SP_REG) (const_int 8)))]
"TARGET_64BIT"
{
- gcc_assert (REGNO(operands[0]) != SP_REG || !TARGET_NACL);
+ gcc_assert (REGNO (operands[0]) != SP_REG || !TARGET_NACL);
if (REGNO (operands[0]) != BP_REG || !TARGET_NACL)
return "pop{q}\t%0";
else
@@ -2426,15 +2426,19 @@
else if (!TARGET_NACL)
return "mov{q}\t{%1, %0|%0, %1}";
else if (REGNO (operands[0]) == SP_REG)
- if (REGNO (operands[1]) == BP_REG)
- return "mov{q}\t{%1, %0|%0, %1}";
- else
- return "naclrestsp\t{%k1, %%r15|%%r15, %k1}";
+ {
+ if (REGNO (operands[1]) == BP_REG)
+ return "mov{q}\t{%1, %0|%0, %1}";
+ else
+ return "naclrestsp\t{%k1, %%r15|%%r15, %k1}";
+ }
else if (REGNO (operands[0]) == BP_REG)
- if (REGNO (operands[1]) == SP_REG)
- return "mov{q}\t{%1, %0|%0, %1}";
- else
- return "naclrestbp\t{%k1, %%r15|%%r15, %k1}";
+ {
+ if (REGNO (operands[1]) == SP_REG)
+ return "mov{q}\t{%1, %0|%0, %1}";
+ else
+ return "naclrestbp\t{%k1, %%r15|%%r15, %k1}";
+ }
else
return "mov{q}\t{%1, %0|%0, %1}";
}
@@ -6021,7 +6025,7 @@
operands[0] = gen_lowpart (SImode, operands[0]);
operands[1] = gen_lowpart (Pmode, operands[1]);
operands[2] = gen_lowpart (Pmode, operands[2]);
- if (GET_CODE(operands[3]) == CONST && GET_MODE(operands[3]) == SImode)
+ if (GET_CODE (operands[3]) == CONST && GET_MODE (operands[3]) == SImode)
operands[3] = gen_lowpart (SImode, operands[3]);
else
operands[3] = gen_lowpart (Pmode, operands[3]);
@@ -6051,7 +6055,7 @@
{
operands[1] = gen_lowpart (Pmode, operands[1]);
operands[2] = gen_lowpart (Pmode, operands[2]);
- if (GET_CODE(operands[3]) == CONST && GET_MODE(operands[3]) == SImode)
+ if (GET_CODE (operands[3]) == CONST && GET_MODE (operands[3]) == SImode)
operands[3] = gen_lowpart (SImode, operands[3]);
else
operands[3] = gen_lowpart (Pmode, operands[3]);
@@ -6077,7 +6081,7 @@
rtx pat;
operands[0] = gen_lowpart (SImode, operands[0]);
operands[1] = gen_lowpart (Pmode, operands[1]);
- if (GET_CODE(operands[3]) == CONST && GET_MODE(operands[3]) == SImode)
+ if (GET_CODE (operands[3]) == CONST && GET_MODE (operands[3]) == SImode)
operands[3] = gen_lowpart (SImode, operands[3]);
else
operands[3] = gen_lowpart (Pmode, operands[3]);
@@ -6106,7 +6110,7 @@
(match_dup 3)) 0)))]
{
operands[1] = gen_lowpart (Pmode, operands[1]);
- if (GET_CODE(operands[3]) == CONST && GET_MODE(operands[3]) == SImode)
+ if (GET_CODE (operands[3]) == CONST && GET_MODE (operands[3]) == SImode)
operands[3] = gen_lowpart (SImode, operands[3]);
else
operands[3] = gen_lowpart (Pmode, operands[3]);
@@ -6133,7 +6137,7 @@
operands[0] = gen_lowpart (SImode, operands[0]);
operands[1] = gen_lowpart (Pmode, operands[1]);
operands[3] = gen_lowpart (Pmode, operands[3]);
- if (GET_CODE(operands[4]) == CONST && GET_MODE(operands[4]) == SImode)
+ if (GET_CODE (operands[4]) == CONST && GET_MODE (operands[4]) == SImode)
operands[4] = gen_lowpart (SImode, operands[4]);
else
operands[4] = gen_lowpart (Pmode, operands[4]);
@@ -6169,7 +6173,7 @@
{
operands[1] = gen_lowpart (Pmode, operands[1]);
operands[3] = gen_lowpart (Pmode, operands[3]);
- if (GET_CODE(operands[4]) == CONST && GET_MODE(operands[4]) == SImode)
+ if (GET_CODE (operands[4]) == CONST && GET_MODE (operands[4]) == SImode)
operands[4] = gen_lowpart (SImode, operands[4]);
else
operands[4] = gen_lowpart (Pmode, operands[4]);
@@ -6556,7 +6560,7 @@
if (GET_MODE (operands[0]) != Pmode)
{
operands[1] = gen_lowpart (Pmode, operands[1]);
- if (GET_CODE(operands[2]) == CONST && GET_MODE(operands[2]) == SImode)
+ if (GET_CODE (operands[2]) == CONST && GET_MODE (operands[2]) == SImode)
{
operands[2] = gen_lowpart (SImode, operands[2]);
}
@@ -6641,7 +6645,7 @@
(zero_extend:DI (subreg:SI (plus:DI (match_dup 1) (match_dup 2)) 0)))]
{
operands[1] = gen_lowpart (Pmode, operands[1]);
- if (GET_CODE(operands[2]) == CONST && GET_MODE(operands[2]) == SImode)
+ if (GET_CODE (operands[2]) == CONST && GET_MODE (operands[2]) == SImode)
{
operands[2] = gen_lowpart (SImode, operands[2]);
}
@@ -16449,8 +16453,8 @@
UNSPEC_TPOFF)])]
"TARGET_64BIT"
{
- rtx op = gen_lowpart(SImode, operands[1]);
- SYMBOL_REF_FLAGS(op) = SYMBOL_REF_FLAGS(operands[1]);
+ rtx op = gen_lowpart (SImode, operands[1]);
+ SYMBOL_REF_FLAGS (op) = SYMBOL_REF_FLAGS (operands[1]);
operands[1] = op;
operands[2] = ix86_tls_get_addr ();
}
« no previous file with comments | « gcc/gcc/config/i386/i386.c ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698