projects
/
platform
/
upstream
/
binutils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fed277f
)
sim: sh: refine pwsb & pwad nops
author
Mike Frysinger
<vapier@gentoo.org>
Sun, 24 Dec 2023 08:59:02 +0000
(
03:59
-0500)
committer
Mike Frysinger
<vapier@gentoo.org>
Sun, 24 Dec 2023 09:00:04 +0000
(
04:00
-0500)
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.
sim/sh/gencode.c
patch
|
blob
|
history
diff --git
a/sim/sh/gencode.c
b/sim/sh/gencode.c
index
8ef3f3e
..
c121d53
100644
(file)
--- a/
sim/sh/gencode.c
+++ b/
sim/sh/gencode.c
@@
-2012,8
+2012,10
@@
static op ppi_tab[] =
"ADD_SUB_GE;",
},
{ "","", "pwsb Sx,Sy,Dz", "10100100....zzzz",
+ "return;",
},
{ "","", "pwad Sx,Sy,Dz", "10110100....zzzz",
+ "return;",
},
{ "","", "(if cc) pabs Sx,Dz", "100010ccxx01zzzz",
"/* FIXME: duplicate code pabs. */",