From cf3c878ed3d41a30ac851ef875e7be7115175257 Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Mon, 21 Sep 2009 21:50:19 +0000 Subject: [PATCH] 2009-09-21 H.J. Lu * config/tc-i386.c: Remove white spaces. --- gas/ChangeLog | 4 ++++ gas/config/tc-i386.c | 20 ++++++++++---------- 2 files changed, 14 insertions(+), 10 deletions(-) diff --git a/gas/ChangeLog b/gas/ChangeLog index 675f52307..0f4d02456 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,7 @@ +2009-09-21 H.J. Lu + + * config/tc-i386.c: Remove white spaces. + 2009-09-21 Ben Elliston Peter Bergner diff --git a/gas/config/tc-i386.c b/gas/config/tc-i386.c index 0e561e30a..3b9b361f8 100644 --- a/gas/config/tc-i386.c +++ b/gas/config/tc-i386.c @@ -1062,7 +1062,7 @@ i386_align_code (fragS *fragP, int count) ones. Otherwise, we use a jump instruction and adjust its offset. */ int limit; - + /* For 64bit, the limit is 3 bytes. */ if (flag_code == CODE_64BIT && fragP->tc_frag_data.isa_flags.bitfield.cpulm) @@ -1986,7 +1986,7 @@ check_cpu_arch_compatible (const char *name ATTRIBUTE_UNUSED, if (get_elf_backend_data (stdoutput)->elf_machine_code != EM_L1OM || new_flag.bitfield.cpul1om) return; - + as_bad (_("`%s' is not supported on `%s'"), name, arch); #endif } @@ -4884,8 +4884,8 @@ build_modrm_byte (void) dest = i.operands - 1; nds = dest - 1; - /* This instruction must have 4 register operands - or 3 register operands plus 1 memory operand. + /* This instruction must have 4 register operands + or 3 register operands plus 1 memory operand. It must have VexNDS and VexImmExt. */ gas_assert ((i.reg_operands == 4 || (i.reg_operands == 3 && i.mem_operands == 1)) @@ -4911,7 +4911,7 @@ build_modrm_byte (void) { source = 1; reg = 0; - } + } /* FMA4 swaps REG and NDS. */ if (i.tm.cpu_flags.bitfield.cpufma4) { @@ -4919,17 +4919,17 @@ build_modrm_byte (void) tmp = reg; reg = nds; nds = tmp; - } + } gas_assert ((operand_type_equal (&i.tm.operand_types[reg], ®xmm) || operand_type_equal (&i.tm.operand_types[reg], - ®ymm)) + ®ymm)) && (operand_type_equal (&i.tm.operand_types[nds], ®xmm) - || operand_type_equal (&i.tm.operand_types[nds], + || operand_type_equal (&i.tm.operand_types[nds], ®ymm))); exp->X_op = O_constant; exp->X_add_number = ((i.op[reg].regs->reg_num - + ((i.op[reg].regs->reg_flags & RegRex) ? 8 : 0)) << 4); + + ((i.op[reg].regs->reg_flags & RegRex) ? 8 : 0)) << 4); i.vex.register_specifier = i.op[nds].regs; } else @@ -5319,7 +5319,7 @@ build_modrm_byte (void) gas_assert (i.reg_operands == 2); if (!operand_type_equal (&i.tm.operand_types[vex_reg], - & regxmm) + ®xmm) && !operand_type_equal (&i.tm.operand_types[vex_reg], ®ymm)) abort (); -- 2.11.4.GIT