Update ppc750cl crate for more improved mnemonics & branch prediction bits

This commit is contained in:
Luke Street 2022-10-10 17:54:52 -04:00
parent c774a7b902
commit d04838fe4e
3 changed files with 3 additions and 4 deletions

2
Cargo.lock generated
View File

@ -1723,7 +1723,7 @@ dependencies = [
[[package]] [[package]]
name = "ppc750cl" name = "ppc750cl"
version = "0.2.0" version = "0.2.0"
source = "git+https://github.com/encounter/ppc750cl?rev=20abce13e43f8d4ff4840732f9c92dda26ebe2ce#20abce13e43f8d4ff4840732f9c92dda26ebe2ce" source = "git+https://github.com/encounter/ppc750cl?rev=4d8e4733319312abf47cde193d7386e55744bdf8#4d8e4733319312abf47cde193d7386e55744bdf8"
dependencies = [ dependencies = [
"num-traits", "num-traits",
"serde", "serde",

View File

@ -24,7 +24,7 @@ cwdemangle = { git = "https://github.com/encounter/cwdemangle", rev = "ba448f403
log = "0.4.17" log = "0.4.17"
rfd = { version = "0.10.0" } # , default-features = false, features = ['xdg-portal'] rfd = { version = "0.10.0" } # , default-features = false, features = ['xdg-portal']
egui_extras = "0.19.0" egui_extras = "0.19.0"
ppc750cl = { git = "https://github.com/encounter/ppc750cl", rev = "20abce13e43f8d4ff4840732f9c92dda26ebe2ce" } ppc750cl = { git = "https://github.com/encounter/ppc750cl", rev = "4d8e4733319312abf47cde193d7386e55744bdf8" }
rabbitizer = { git = "https://github.com/encounter/rabbitizer-rs", rev = "10c279b2ef251c62885b1dcdcfe740b0db8e9956" } rabbitizer = { git = "https://github.com/encounter/rabbitizer-rs", rev = "10c279b2ef251c62885b1dcdcfe740b0db8e9956" }
time = { version = "0.3.14", features = ["formatting", "local-offset"] } time = { version = "0.3.14", features = ["formatting", "local-offset"] }

View File

@ -74,11 +74,10 @@ pub fn process_code(
} }
} }
ops.push(simplified.ins.op as u8); ops.push(simplified.ins.op as u8);
let suffix = simplified.ins.suffix();
insts.push(ObjIns { insts.push(ObjIns {
address: simplified.ins.addr, address: simplified.ins.addr,
code: simplified.ins.code, code: simplified.ins.code,
mnemonic: format!("{}{}", simplified.mnemonic, suffix), mnemonic: format!("{}{}", simplified.mnemonic, simplified.suffix),
args, args,
reloc: reloc.cloned(), reloc: reloc.cloned(),
op: 0, op: 0,