107 Commits

Author SHA1 Message Date
Alexey Esaulenko
7a8a9534ee PowerPC: additional MPC55xx float-point instructions 2023-12-14 15:17:37 -05:00
Alexey Esaulenko
cf373686d1 PowerPC: e_rlwinm fix remove unreachable block warning 2023-12-14 15:17:35 -05:00
Alexey Esaulenko
62561121aa PowerPC: float compare should set great that flag, but not overflow 2023-12-14 15:17:33 -05:00
Alexey Esaulenko
f4c042544a PowerPC: XOR can be used in VLE mode 2023-12-14 15:17:31 -05:00
Ryan Kurtz
ddf36db434 Merge branch 'GP-0_ryanmkurtz_PR-5315_Ninja3047_fix-ppc-cfa-value' 2023-11-09 12:15:09 -05:00
ghidorahrex
c37276f08b GP-3789: Moved legacy PPC 400 instructions out of main PPC 2023-08-25 16:26:25 +00:00
ghidorahrex
6c37abb4fd GP-3788: Fixed PowerPC VLE load/store SD4 operand display 2023-08-25 14:07:28 +00:00
Ryan Kurtz
d91a60f201 Merge remote-tracking branch 'origin/patch' 2023-06-01 06:17:13 -04:00
isabella3412
d7d80b134e GP-3296 Updated PowerISA Instruction Index with new manual 2023-05-25 18:18:55 +00:00
caheckman
ce520cc940 GP-3480 Mark PPC r13 as unaffected 2023-05-24 14:35:59 -04:00
Ryan Kurtz
a87044c521 Merge remote-tracking branch 'origin/patch' 2023-05-18 11:06:01 -04:00
Ryan Kurtz
0cae3ab0f5 Merge remote-tracking branch
'origin/GP-3325_ghidorahrex_PR-4886_Ninja3047_fix-ppc-stmvsprw' into
patch (Closes #4886)
2023-05-18 11:02:54 -04:00
Ryan Kurtz
f8ebb729ef Merge remote-tracking branch
'origin/GP-3432_ghidorahrex_PR-4887_Ninja3047_ppc_vle_eieio' into patch
(Closes #4887)
2023-05-18 10:58:25 -04:00
Ryan Kurtz
033d2a2ec6 Merge remote-tracking branch
'origin/GP-3434_ghidorahrex_ppc_vle_e_sthu_fix' (Closes #5247)
2023-05-15 08:40:12 -04:00
ghidorahrex
9dc6e6e29d GP-3434: Fixed PPC VLE e_sthu mnemonic display 2023-05-12 17:51:08 +00:00
William Tan
4dd7d296a5 fix call_frame_cfa value for ppc 2023-05-09 11:16:46 -04:00
William Tan
9c694ebfd1 move around mbar/eieio 2023-05-05 11:13:03 -04:00
William Tan
eebdca2668 move mbar from a2 to ppc_embedded, remove duplicate eieio 2023-05-05 11:13:03 -04:00
William Tan
8277a6312b fix: also decode eieio (mbar 0) for VLE 2023-05-05 11:13:02 -04:00
ghidorahrex
57d645dc92 GP-3341: Fixed PowerPC LR register for conditional BLR* 2023-04-21 19:39:33 +00:00
Pokechu22
14880b53c4 Create and use LZCOUNT Pcode op 2023-03-02 18:30:04 -08:00
Ryan Kurtz
82ac8f7143 Merge remote-tracking branch 'origin/patch' 2023-01-13 08:17:56 -05:00
ghidorahrex
32eadb284f GP-2245 Corrected semantics of the mtmsr[d] instructions in powerpc 2023-01-13 07:07:00 -05:00
William Tan
2964e171ea fix: incorrect sleigh in e_stmvsprw for PPC VLE 2023-01-10 16:55:41 -05:00
RootCubed
c422741282 Fix implementation of fsel instruction 2022-12-20 14:39:56 +01:00
Ryan Kurtz
f6a620c5e0 Merge remote-tracking branch
'origin/GP-713_ghidra1_ELF_PowerPC_EMB_Relocation--SQUASHED'
(Closes #890)
2022-07-25 13:24:44 -04:00
ghidra1
0d54d2d7c3 GP-713 added support for ELF PowerPC R_PPC_EMB_SDA21 relocation. Also revised PowerPC cspecs in support of EABI. 2022-07-25 08:38:40 -04:00
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