2007-09-14 H.J. Lu <hongjiu.lu@intel.com>
+ * config/tc-i386.c (build_modrm_byte): Use (A || B) instead
+ of (A || B) != 0.
+
+2007-09-14 H.J. Lu <hongjiu.lu@intel.com>
+
* config/tc-i386.c (build_modrm_byte): Adjust indentation.
2007-09-14 Michael Meissner <michael.meissner@amd.com>
here, it looks to GAS as if this is a 2 operand instruction. */
if ((i.tm.opcode_modifier.drex
|| i.tm.opcode_modifier.drexv
- || i.tm.opcode_modifier.drexc) != 0
+ || i.tm.opcode_modifier.drexc)
&& i.reg_operands == 2)
{
const reg_entry *reg = i.op[i.drex.modrm_reg].regs;
/* This has been precalculated for SSE5 instructions
that have a DREX field earlier in process_drex. */
- if ((i.tm.opcode_modifier.drex
- || i.tm.opcode_modifier.drexv
- || i.tm.opcode_modifier.drexc) != 0)
+ if (i.tm.opcode_modifier.drex
+ || i.tm.opcode_modifier.drexv
+ || i.tm.opcode_modifier.drexc)
op = i.drex.modrm_regmem;
else
{
/* This has been precalculated for SSE5 instructions
that have a DREX field earlier in process_drex. */
- if ((i.tm.opcode_modifier.drex
- || i.tm.opcode_modifier.drexv
- || i.tm.opcode_modifier.drexc) != 0)
+ if (i.tm.opcode_modifier.drex
+ || i.tm.opcode_modifier.drexv
+ || i.tm.opcode_modifier.drexc)
{
op = i.drex.modrm_reg;
i.rm.reg = i.op[op].regs->reg_num;