forked from Imagelibrary/binutils-gdb
sim: sh: refine pwsb & pwad nops
Since these insns don't do anything and are effectively ignored, return early to avoid doing any common processing at the end as that requires initializing variables like "res" with something.
This commit is contained in:
@@ -2012,8 +2012,10 @@ static op ppi_tab[] =
|
|||||||
"ADD_SUB_GE;",
|
"ADD_SUB_GE;",
|
||||||
},
|
},
|
||||||
{ "","", "pwsb Sx,Sy,Dz", "10100100....zzzz",
|
{ "","", "pwsb Sx,Sy,Dz", "10100100....zzzz",
|
||||||
|
"return;",
|
||||||
},
|
},
|
||||||
{ "","", "pwad Sx,Sy,Dz", "10110100....zzzz",
|
{ "","", "pwad Sx,Sy,Dz", "10110100....zzzz",
|
||||||
|
"return;",
|
||||||
},
|
},
|
||||||
{ "","", "(if cc) pabs Sx,Dz", "100010ccxx01zzzz",
|
{ "","", "(if cc) pabs Sx,Dz", "100010ccxx01zzzz",
|
||||||
"/* FIXME: duplicate code pabs. */",
|
"/* FIXME: duplicate code pabs. */",
|
||||||
|
|||||||
Reference in New Issue
Block a user