PATCH: i386 disassembler: Check PREFIX_REPNZ before PREFIX_DATA for prefix table

H. J. Lu hjl@lucon.org
Fri Nov 10 21:05:00 GMT 2006


On Fri, Nov 10, 2006 at 11:56:51PM +0300, malc wrote:
> On Thu, 9 Nov 2006, H. J. Lu wrote:
> 
> >When prefix user table is used, we check PREFIX_REPZ, PREFIX_DATA
> >and PREFIX_REPNZ, in that order. This patch changes it to
> >PREFIX_REPZ, PREFIX_REPNZ and PREFIX_DATA. There is no regression.
> 
> This might sound naive, but - why?

PREFIX_REPZ and PREFIX_REPNZ are the same class prefixes. It doesn't
make senses to check one before PREFIX_DATA and one after.


H.J.



More information about the Binutils mailing list