[Top][All Lists]

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

[Bug gas/15538] Wrong implicit it generation

From: address@hidden
Subject: [Bug gas/15538] Wrong implicit it generation
Date: Thu, 13 Jun 2013 21:15:15 +0000


--- Comment #2 from John Tytgat <address@hidden> ---
(In reply to Nick Clifton from comment #1)
>   I am not sure that this is a real bug.  NOP instructions are neutral -
> they can appear inside or outside of an IT block.  Since the assembler has
> been told to automatically create IT blocks it is free to decide to include
> or exclude the NOP instruction from the block.  Including the NOP
> instruction in the block does not change the behaviour of the program, so it
> is a safe choice.

I agree it probably won't make a difference at runtime but I don't think the
assembler should be at liberty to make instructions conditional when they
weren't in the first place.

Moreover, I notice that:

    LDCEQ.W p6 , c3 , [ r2 ] , { 33 }

still results in:

   0:    bf04          itt    eq
   2:    ec92 3621     ldceq    6, cr3, [r2], {33}    ; 0x21
   6:    f3af 8000     nopeq.w

Also a straight:


results in:

   0:    f3af 8000     nop.w

So bottomline, it looks like the condition code of a nop gets ignored.

You are receiving this mail because:
You are on the CC list for the bug.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]