projects
/
mit-scheme.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
52d7ed7
)
Fix extraction of PC offset from branch instruction.
author
Taylor R Campbell
<campbell@mumble.net>
Sat, 19 Jan 2019 08:03:41 +0000
(08:03 +0000)
committer
Taylor R Campbell
<campbell@mumble.net>
Wed, 21 Aug 2019 21:34:03 +0000
(21:34 +0000)
src/microcode/cmpintmd/aarch64.c
patch
|
blob
|
history
diff --git
a/src/microcode/cmpintmd/aarch64.c
b/src/microcode/cmpintmd/aarch64.c
index b6610c10b0846b4ef26c15f42d362d7e0add8d8a..d9bed8e6204a5ba277007229e3f221e8f11c6c02 100644
(file)
--- a/
src/microcode/cmpintmd/aarch64.c
+++ b/
src/microcode/cmpintmd/aarch64.c
@@
-90,7
+90,7
@@
cc_return_address_to_entry_address (insn_t * pc)
{
insn_t insn = (pc[0]);
if ((insn & 0xfc000000UL) == 0x14000000UL) /* B */
- return (pc + (insn & 0x
3f
ffffff));
+ return (pc + (insn & 0x
03
ffffff));
else
/* XXX What if it got branch-tensioned? */
error_external_return ();