Reformat build_modrm_byte.
authorH.J. Lu <hjl.tools@gmail.com>
Thu, 11 Feb 2010 14:02:50 +0000 (14:02 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Thu, 11 Feb 2010 14:02:50 +0000 (14:02 +0000)
2010-02-11  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-i386.c (build_modrm_byte): Reformat.

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

index c9c2158..1c2ea9e 100644 (file)
@@ -1,5 +1,9 @@
 2010-02-11  H.J. Lu  <hongjiu.lu@intel.com>
 
+       * config/tc-i386.c (build_modrm_byte): Reformat.
+
+2010-02-11  H.J. Lu  <hongjiu.lu@intel.com>
+
        * config/tc-i386.c: Update copyright.
 
 2010-02-10  Quentin Neill  <quentin.neill@amd.com>
index 4bdfa39..9e804c6 100644 (file)
@@ -5051,13 +5051,15 @@ build_modrm_byte (void)
               nds = tmp;
             }
 
-          gas_assert (operand_type_equal (&i.tm.operand_types[reg_slot], &regxmm)
+          gas_assert (operand_type_equal (&i.tm.operand_types[reg_slot],
+                                         &regxmm)
                       || operand_type_equal (&i.tm.operand_types[reg_slot],
                                              &regymm));
           exp->X_op = O_constant;
           exp->X_add_number
               = ((i.op[reg_slot].regs->reg_num
-                  + ((i.op[reg_slot].regs->reg_flags & RegRex) ? 8 : 0)) << 4);
+                  + ((i.op[reg_slot].regs->reg_flags & RegRex) ? 8 : 0))
+                << 4);
         }
       else
         {
@@ -5096,12 +5098,14 @@ build_modrm_byte (void)
               i.types[imm_slot].bitfield.imm8 = 1;
             }
 
-          gas_assert (operand_type_equal (&i.tm.operand_types[reg_slot], &regxmm)
-                  || operand_type_equal (&i.tm.operand_types[reg_slot],
-                                         &regymm));
+          gas_assert (operand_type_equal (&i.tm.operand_types[reg_slot],
+                                         &regxmm)
+                     || operand_type_equal (&i.tm.operand_types[reg_slot],
+                                            &regymm));
           i.op[imm_slot].imms->X_add_number
               |= ((i.op[reg_slot].regs->reg_num
-                   + ((i.op[reg_slot].regs->reg_flags & RegRex) ? 8 : 0)) << 4);
+                   + ((i.op[reg_slot].regs->reg_flags & RegRex) ? 8 : 0))
+                 << 4);
         }
 
       gas_assert (operand_type_equal (&i.tm.operand_types[nds], &regxmm)