diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2009-09-21 21:50:19 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2009-09-21 21:50:19 +0000 |
commit | 76ba998616ce00446311fe97558f44397493b3e3 (patch) | |
tree | 08004bc0f44b20452299805e5d2743802fbef713 /gas | |
parent | 16b1ad29eaa9451d7f0c8bf47df22578f98a1011 (diff) | |
download | gdb-76ba998616ce00446311fe97558f44397493b3e3.zip gdb-76ba998616ce00446311fe97558f44397493b3e3.tar.gz gdb-76ba998616ce00446311fe97558f44397493b3e3.tar.bz2 |
2009-09-21 H.J. Lu <hongjiu.lu@intel.com>
* config/tc-i386.c: Remove white spaces.
Diffstat (limited to 'gas')
-rw-r--r-- | gas/ChangeLog | 4 | ||||
-rw-r--r-- | gas/config/tc-i386.c | 20 |
2 files changed, 14 insertions, 10 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index 675f523..0f4d024 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,7 @@ +2009-09-21 H.J. Lu <hongjiu.lu@intel.com> + + * config/tc-i386.c: Remove white spaces. + 2009-09-21 Ben Elliston <bje@au.ibm.com> Peter Bergner <bergner@vnet.ibm.com> diff --git a/gas/config/tc-i386.c b/gas/config/tc-i386.c index 0e561e3..3b9b361 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 (); |