This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] CR16 target specific fix


Hi Swami,

      {
        mask = build_mask ();
+       /* Adjust mask for bcond with 32-bit size instruction.  */
+       if ((IS_INSN_MNEMONIC("b") && instruction->size == 2))
+         mask = 0xff0f0000;
+

Wouldn't it be better cleaner if this code was inside build_mask() ?


Cheers
  Nick



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]