This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] don't generate long nops on i686 (only when -march=[intel])


On Fri, Aug 6, 2010 at 11:12 AM, Quentin Neill
<quentin.neill.gnu@gmail.com> wrote:
> On Fri, Aug 6, 2010 at 12:58 PM, H.J. Lu <hjl.tools@gmail.com> wrote:
>> I will commit your patch for you first.
>
> Thanks.
>
> On Fri, Aug 6, 2010 at 1:02 PM, H.J. Lu <hjl.tools@gmail.com> wrote:
>> Your patch seems corrupted. Please resent it as an attachment.
>
> Okay.
>

I checked it.  I also checked in this patch to fix indent.



-- 
H.J.
Index: ChangeLog
===================================================================
RCS file: /cvs/src/src/gas/ChangeLog,v
retrieving revision 1.4224
diff -u -p -r1.4224 ChangeLog
--- ChangeLog	6 Aug 2010 18:22:48 -0000	1.4224
+++ ChangeLog	6 Aug 2010 19:45:57 -0000
@@ -1,3 +1,8 @@
+2010-08-06  H.J. Lu  <hongjiu.lu@intel.com>
+
+	* config/tc-i386.c (set_cpu_arch): Re-indent.
+	(md_parse_option): Likewise.
+
 2010-08-06  Quentin Neill <quentin.neill@amd.com>

 	* config/tc-i386.c (arch_entry): Add negated bit to
Index: config/tc-i386.c
===================================================================
RCS file: /cvs/src/src/gas/config/tc-i386.c,v
retrieving revision 1.444
diff -u -p -r1.444 tc-i386.c
--- config/tc-i386.c	6 Aug 2010 18:22:48 -0000	1.444
+++ config/tc-i386.c	6 Aug 2010 19:45:57 -0000
@@ -2139,7 +2139,7 @@ set_cpu_arch (int dummy ATTRIBUTE_UNUSED
 				      cpu_arch[j].flags);
 	      else
 		flags = cpu_flags_and_not (cpu_arch_flags,
-				      cpu_arch[j].flags);
+					   cpu_arch[j].flags);
 	      if (!cpu_flags_equal (&flags, &cpu_arch_flags))
 		{
 		  if (cpu_sub_arch_name)
@@ -8221,12 +8221,12 @@ md_parse_option (int c, char *arg)
 		  /* ISA entension.  */
 		  i386_cpu_flags flags;

-                  if (!cpu_arch[j].negated)
+		  if (!cpu_arch[j].negated)
 		    flags = cpu_flags_or (cpu_arch_flags,
 					  cpu_arch[j].flags);
 		  else
 		    flags = cpu_flags_and_not (cpu_arch_flags,
-					  cpu_arch[j].flags);
+					       cpu_arch[j].flags);
 		  if (!cpu_flags_equal (&flags, &cpu_arch_flags))
 		    {
 		      if (cpu_sub_arch_name)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]