Re: [PATCH 5/5] MIPS: Simplify DSP instruction encoding macros

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 21 May 2016 08:11:35 BST, "Maciej W. Rozycki" <macro@xxxxxxxxxx> wrote:
>On Fri, 20 May 2016, James Hogan wrote:
>
>> To me this makes it easier to read since it is much shorter, but it
>also
>> ensures .insn is used, preventing objdump disassembling the microMIPS
>> code as normal MIPS.
>
>More importantly the use of `.insn' prevents execution from going
>astray 
>if there's a label being jumped to at the handcoded instruction.

Right. in my builds i couldn't find any examples of this happening, only relative branches (the only diff when adding .insn seemed to be objdump -d printing as microMIPS, but tbh i didn't compare data sections), but perhaps it could still happen with a different configuration or toolchain?

Grepping the disassembly though i did find various other cases of MIPS disassembly amongst microMIPS that i have yet to identify.

thanks
James




[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux