[llvm-dev] Decoding Conflict - Decoding a register value

Joachim Durchholz via llvm-dev llvm-dev at lists.llvm.org
Thu Jan 28 02:05:30 PST 2016


Am 28.01.2016 um 10:31 schrieb Sky Flyer via llvm-dev:
> Hello all,
>
> I am having a decoding conflict which practically is not a conflict but I
> don't know how to resolve it.
>
> Here is the conflict:
>          TST8a 0011000000000_
>          TST8d 0011000000___0
>
> The conflict is in the register values. it is actually like this:
>
>          TST8a 0011000000000*a*
>          TST8d 0011000000*ddd*0

How should       00110000000001*0 decode?
AFAICT that would match both patterns and satisfy d >= 1, so in the 
situation as stated there is indeed a conflict.

(Disclaimer: I know nothing about the decoding infrastructure you are 
using, I'm going by your problem statement and by what I learned from 
toying with instruction decoding with x86 and 68k, decades ago.)

Regards,
Jo


More information about the llvm-dev mailing list