[llvm-commits] [PATCH] ARM bkpt instruction!

Bruno Cardoso Lopes bruno.cardoso at gmail.com
Mon Jan 17 10:11:02 PST 2011


Ping,
AttachedĀ is an updated version of the patch!

On Tue, Jan 11, 2011 at 10:28 PM, Bruno Cardoso Lopes
<bruno.cardoso at gmail.com> wrote:
>
> Hi Anton,
>
> On Mon, Jan 10, 2011 at 5:39 PM, Anton Korobeynikov
> <anton at korobeynikov.info> wrote:
> > Hi Bruno,
> >
> >> This patch fix the asm parsing for the thumb1 bkpt instruction!
> >> Ok to commit?
> > Is it possible to make patch more generic somehow, e.g. for other
> > non-predicable instructions (if any)?
>
> The problem here is that the cond code operand is created during
> ParseInstruction, while any MI info will only be available in
> MatchAndEmitInstruction. With MI info we would be able to do something
> better, for example: creating a TSFlag for Encoding16 or mark
> instructions with a NonPredicable bit, but that's not possible. I'm
> not aware of a more generic solution right now, but I'm open to ideas
> :)
>
> --
> Bruno Cardoso Lopes
> http://www.brunocardoso.cc



--
Bruno Cardoso Lopes
http://www.brunocardoso.cc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: arm-bkpt-encoding.patch
Type: application/octet-stream
Size: 2579 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20110117/89da86e9/attachment.obj>


More information about the llvm-commits mailing list