This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: binutils patch


Daniel Egger <egger@suse.de> writes:

|> @@ -3199,6 +3207,13 @@
|>  
|>  { "dcbz",    X(31,1014), XRT_MASK,	PPC,		{ RA, RB } },
|>  { "dclz",    X(31,1014), XRT_MASK,	PPC,		{ RA, RB } },
|> +
|> +{ "dss",     X(31,822), X_MASK,		PPCVEC,		{ STRM } },
|> +{ "dssall",  X(31,822), XT_MASK,	PPCVEC,		{ STRM } },
|> +{ "dst",     X(31,342), X_MASK,		PPCVEC,		{ RA, RB, STRM } },
|> +{ "dstt",    X(31,342), XT_MASK,	PPCVEC,		{ RA, RB, STRM } },
|> +{ "dstst",   X(31,374), X_MASK,		PPCVEC,		{ RA, RB, STRM } },
|> +{ "dststt",  X(31,374), XT_MASK,	PPCVEC,		{ RA, RB, STRM } },
|>  
|>  { "lvebx",   X(31,   7), X_MASK,	PPCVEC,		{ VD, RA, RB } },
|>  { "lvehx",   X(31,  39), X_MASK,	PPCVEC,		{ VD, RA, RB } },

The comment before the table says:

   The disassembler reads the table in order and prints the first
   instruction which matches, so this table is sorted to put more
   specific instructions before more general instructions.  It is also
   sorted by major opcode.

Try to swap the lines in the pairs with X_MASK vs XT_MASK, so that the
disassembler matches the transparent form before the non-transparent form.

Andreas.

-- 
Andreas Schwab                                  "And now for something
SuSE Labs                                        completely different."
Andreas.Schwab@suse.de
SuSE GmbH, Schanzäckerstr. 10, D-90443 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]