]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
2006-12-15 H.J. Lu <hongjiu.lu@intel.com>
authorH.J. Lu <hjl.tools@gmail.com>
Fri, 15 Dec 2006 14:09:22 +0000 (14:09 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Fri, 15 Dec 2006 14:09:22 +0000 (14:09 +0000)
* config/tc-i386.c (build_modrm_byte): Reformat to 72 columns.

gas/ChangeLog
gas/config/tc-i386.c

index dce27c0e84ee21b155a0b4e610a12f8b54f11f5b..cbc3034e1e1e11b4508ad423caedb6fecb37a268 100644 (file)
@@ -1,3 +1,7 @@
+2006-12-15  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * config/tc-i386.c (build_modrm_byte): Reformat to 72 columns.
+
 2006-12-14  Daniel Jacobowitz  <dan@codesourcery.com>
 
        * Makefile.am (YFLAGS): Define.
index 3b54ed5899c6c16f83aba26859088919ab6f67d8..d4bba26daa560a008e39c254b2eeab4131e2c273 100644 (file)
@@ -3430,8 +3430,9 @@ build_modrm_byte ()
                    | Control | Debug | Test))
                ? 0 : 1);
 
-      /* In 4 operands instructions with 2 immediate operands, the first two are immediate
-        bytes and hence source operand will be in the next byte after the immediates */
+      /* In 4 operands instructions with 2 immediate operands, the first
+         two are immediate bytes and hence source operand will be in the
+        next byte after the immediates */
       if ((i.operands == 4)&&(i.imm_operands=2)) source++; 
       dest = source + 1;
 
@@ -3496,9 +3497,11 @@ build_modrm_byte ()
                      i.rm.regmem = ESCAPE_TO_TWO_BYTE_ADDRESSING;
                      i.sib.base = NO_BASE_REGISTER;
                      i.sib.index = NO_INDEX_REGISTER;
-                     i.types[op] = ((i.prefix[ADDR_PREFIX] == 0) ? Disp32S : Disp32);
+                     i.types[op] = ((i.prefix[ADDR_PREFIX] == 0)
+                                    ? Disp32S : Disp32);
                    }
-                 else if ((flag_code == CODE_16BIT) ^ (i.prefix[ADDR_PREFIX] != 0))
+                 else if ((flag_code == CODE_16BIT)
+                          ^ (i.prefix[ADDR_PREFIX] != 0))
                    {
                      i.rm.regmem = NO_BASE_REGISTER_16;
                      i.types[op] = Disp16;
@@ -3568,7 +3571,9 @@ build_modrm_byte ()
            {
              if (flag_code == CODE_64BIT
                  && (i.types[op] & Disp))
-               i.types[op] = (i.types[op] & Disp8) | (i.prefix[ADDR_PREFIX] == 0 ? Disp32S : Disp32);
+               i.types[op] = ((i.types[op] & Disp8)
+                              | (i.prefix[ADDR_PREFIX] == 0
+                                 ? Disp32S : Disp32));
 
              i.rm.regmem = i.base_reg->reg_num;
              if ((i.base_reg->reg_flags & RegRex) != 0)