Commit graph

80 commits

Author SHA1 Message Date
ghidra1
0287403adf GP-2272 added PowerPC e500 processor variant 2022-07-21 21:54:06 -04:00
Greg Hogan
c91d117187 fix efscmp* and efstst* instructions 2022-01-21 19:31:57 -05:00
ghidorahrex
905ec75e32 GP-1250: Several PPC instruction fixes 2021-11-30 07:53:13 -05:00
Ryan Kurtz
9593f16585 Merge remote-tracking branch
'origin/GP-1075_ghidorahrex_PR-1672_mumbel_ppcregwrite' (Closes #1672)
2021-08-27 09:41:33 -04:00
Ryan Kurtz
8e0c298bd3 Merge remote-tracking branch
'origin/GP-1218_ghidorahrex_PR-2927_nneonneo_powerisa_idx' (Closes
#2927)
2021-08-17 14:02:06 -04:00
mumbel
d61be26b38 [PowerPC] Various SLEIGH fixes
- Ensure registers do not overlap for source and destination registers
- preserve register values when needed
- signed issue comparing unsigned to negative
- unued argument in divZero macro
- stwcx. and stdcx. should set cr bits to continue
- out of order flag setting vs value assignment
- some fixes in setting wrong cr bit
2021-06-25 10:54:45 -05:00
ghidra1
f7b2d49468 Corrected various language errors (PPC, SPARC, MCS96) 2021-05-04 23:24:56 -04:00
ghidorahrex
84f0096e02 Fixed size for signed immediate value of the PPC VLE e_li instruction 2021-04-13 12:30:10 -04:00
Robert Xiao
d9a291ff0e
Update PowerISA.idx with correct "physical" pages
PowerISA.idx was incorrectly using "logical" page numbers for the listings, which would not come up correctly when called from the "Processor Manuals" menu. Fixed to apply "physical" page numbering, and tested with instructions from compiling [power8.s](https://chromium.googlesource.com/chromiumos/third_party/binutils/+/refs/heads/master/gas/testsuite/gas/ppc/power8.s) and [vle.s](https://chromium.googlesource.com/chromiumos/third_party/binutils/+/refs/heads/master/gas/testsuite/gas/ppc/vle.s).
2021-04-12 03:18:42 -06:00
ghidra1
9a8228467b Merge remote-tracking branch
'origin/GP-703_ghidorahrex_PPC_regression_fix--SQUASHED'
2021-03-26 16:01:32 -04:00
ghidorahrex
6afdbcfc86 GP-703 improved various return from interrupt instruction semantics for PowerPC 2021-03-26 15:58:44 -04:00
ghidorahrex
ffa67eb295 Refactored interrupt return instructions for PPC 2021-03-23 11:08:56 -04:00
mumbel
dce6e9f6a8 Cleaning up warnings and errors, mostly looking for:
temporary is written but not read in constructor
2020-01-22 19:51:45 -06:00
ghidorahrex
b514a2c9ec GT-3254: PPC VLE Corrected signed immediate offset calculation (fixes
#1160)
2019-11-13 08:13:19 -05:00
Ryan Kurtz
c835f335fa Merge remote-tracking branch
'origin/GT-3228_ghidorahrex_PowerPC_VLE_e_cmpi_decompilation' into patch
(fixes #1127)
2019-11-05 10:34:29 -05:00
Ryan Kurtz
b12ebf9b60 Merge remote-tracking branch
'origin/GT-3232_ghidorahrex_PowerPC_VLE_bit_generation' into patch
(fixes #967)
2019-11-01 09:44:45 -04:00
ghidorahrex
8f526ee693 GT-3228: Removed unneeded temporary variables and token field. 2019-10-31 13:05:52 -04:00
ghidorahrex
dba454d348 GT-3232: Corrected PowerPC VLE bit generation for several instructions 2019-10-10 10:05:55 -04:00
ghidorahrex
3236686436 GT-3228: Corrected crall implementation for PowerPC comparisons 2019-10-09 13:39:24 -04:00
caheckman
5e41bf2df4 fix for se_bmaski, parameter first use with subtractWrap 2019-10-09 13:20:00 -04:00
ghidorahrex
77665a8945 GT-3159: PowerPC: corrected e_rlwimi and e_rlwinm VLE bit patterns.
Corrected wrteei bit pattern.
2019-09-17 12:03:46 -04:00
mumbel
9d03c3a5f7 se_cmpli fix
Previous attempt at se_cmpli fix incorrectly applied a 5 bit mask
OIMM = UI5_VLE + 1, resulting in values 1-32
2019-09-12 17:30:40 -05:00
mumbel
2f3eeed8ca bad endian processing 2019-08-26 17:18:56 -05:00
mumbel
1bce22e2c7 PPC64 VLE fix for se_cmpli
se_cmpli uses the 5 bits of OIMM = OIM5 + 1, had OIM5.
2019-08-26 17:12:36 -05:00
mumbel
bc4790d509 correctiosn for DSRR1 2019-08-23 18:57:30 -05:00
mumbel
ef82a52182 correctiosn for D/CSRR 2019-08-23 18:54:55 -05:00
mumbel
498abfa8ba Add additional VLE instructions
Taken from "New VLE Instructions for Improving INterrupt Handler Efficiency"
EB696.pdf
2019-08-23 18:20:08 -05:00
aldelaro5
e51128e46f Processors/PowerPC: Use FLOAT_NEG on fneg and fneg. instructions
It was causing weird decompilation output.
2019-04-09 01:09:38 -04:00
ghidra1
7179c6de81 GT-2667 added support for generating sleigh build.xml files 2019-03-29 17:24:31 -04:00
Dan
79d8f164f8 Candidate release of source code. 2019-03-26 13:46:51 -04:00