Skip to content

Commit d04838f

Browse files
committed
Update ppc750cl crate for more improved mnemonics & branch prediction bits
1 parent c774a7b commit d04838f

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ cwdemangle = { git = "https://github.com/encounter/cwdemangle", rev = "ba448f403
2424
log = "0.4.17"
2525
rfd = { version = "0.10.0" } # , default-features = false, features = ['xdg-portal']
2626
egui_extras = "0.19.0"
27-
ppc750cl = { git = "https://github.com/encounter/ppc750cl", rev = "20abce13e43f8d4ff4840732f9c92dda26ebe2ce" }
27+
ppc750cl = { git = "https://github.com/encounter/ppc750cl", rev = "4d8e4733319312abf47cde193d7386e55744bdf8" }
2828
rabbitizer = { git = "https://github.com/encounter/rabbitizer-rs", rev = "10c279b2ef251c62885b1dcdcfe740b0db8e9956" }
2929
time = { version = "0.3.14", features = ["formatting", "local-offset"] }
3030

src/obj/ppc.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,11 +74,10 @@ pub fn process_code(
7474
}
7575
}
7676
ops.push(simplified.ins.op as u8);
77-
let suffix = simplified.ins.suffix();
7877
insts.push(ObjIns {
7978
address: simplified.ins.addr,
8079
code: simplified.ins.code,
81-
mnemonic: format!("{}{}", simplified.mnemonic, suffix),
80+
mnemonic: format!("{}{}", simplified.mnemonic, simplified.suffix),
8281
args,
8382
reloc: reloc.cloned(),
8483
op: 0,

0 commit comments

Comments
 (0)