Commit graph

37 commits

Author SHA1 Message Date
Rubens Brandão
cf21550bc8
Fix tricore instruction st.da circular addr mode
At the manual https://www.infineon.com/dgdl/tc_v131_instructionset_v138.pdf?fileId=db3a304412b407950112b409b6dd0352
It defines word as 32bits, and the instruction define a memory write of word len `(M(EA0, word) = A[a];`, so those are two 4bytes writes and not 2bytes writes
2024-04-23 10:30:29 -03:00
Ryan Kurtz
2237d2ac9e Merge remote-tracking branch 'origin/patch' 2024-04-10 10:35:11 -04:00
emteere
154ccaae96 GP-4507 added Tricore p0/p8 to .cspec prefersplit list 2024-04-10 10:16:57 -04:00
Ryan Kurtz
6b4f9b71b5 Merge remote-tracking branch 'origin/patch' 2024-04-01 11:18:56 -04:00
emteere
bb5f35216e GP-4468 tricore calling convention extension="inttype" fix 2024-03-29 12:18:09 -04:00
Ryan Kurtz
362f571b19 Merge remote-tracking branch 'origin/patch' 2024-03-13 09:41:45 -04:00
Ryan Kurtz
9a990e536c Merge remote-tracking branch 'origin/GP-4418_ghidorahrex_PR-5756_esaulenka_fix_Tricore_DEXTR' into patch 2024-03-13 09:34:16 -04:00
mumbel
e024e6536d tricore analysis 2024-03-05 22:25:15 -06:00
emteere
cd4b0b1a72 GP-4319 updated calling convention with larger sizes and allow floats 2024-02-23 00:22:49 -05:00
emteere
e1a2362b4f GP-4319 minor improvements 2024-02-22 15:01:58 -05:00
Alexey Esaulenko
7ceb740e64 Tricore, improve calling conventions for non-dword arguments 2024-02-12 15:33:37 +00:00
Ryan Kurtz
25f07a2a05 Merge remote-tracking branch
'origin/GP-4204_ghidorahrex_PR-5712_P4ulBr4ndt_tricore_tc176x_can_mo'
into patch (Closes #5712)
2024-01-23 11:48:47 -05:00
ghidorahrex
3d1b865543 GP-3879: Implemented lzcount in several instructions 2023-11-03 12:30:51 -04:00
Alexey Esaulenko
07a0796987 Fix Tricore DEXTR instruction 2023-09-08 11:26:23 +04:00
P4ulBr4ndt
abd1ffa7d3
Fix tricore TC176X CAN_MO addresses 2023-08-28 13:09:04 +02:00
P4ulBr4ndt
b2af9b6486
Fix tricore TC176X CAN_MO addresses 2023-08-28 13:05:38 +02:00
Pokechu22
14880b53c4 Create and use LZCOUNT Pcode op 2023-03-02 18:30:04 -08:00
Ryan Kurtz
59a40896f6 Merge remote-tracking branch
'origin/GP-2895_ghidorahrex_PR-4775_mkow_tricore_nor_fix' (Closes #4775)
2023-02-18 07:40:36 -05:00
emteere
93c291ba72 GP-2905: Fixed regression in handling of spacebase register values that
cause a stack trace in the decompiler for RISCV.  Removed unnecessary
spacebase settings in tricore, mips, riscv.
2023-02-07 10:51:56 -05:00
Michał Kowalczyk
20ec4e9446 Fix nor.t output size in TriCore Sleigh 2022-11-30 15:07:50 +01:00
ghidra1
06c8cfc24a Merge remote-tracking branch 'origin/GP-1871_OverlappingPentry' 2022-04-25 14:47:15 -04:00
Ryan Kurtz
4f888cf98a Merge remote-tracking branch 'origin/GP-1746_ghidorahrex_PR-2326_esaulenka_tricore_stt_fix' 2022-04-11 13:53:17 -04:00
caheckman
716dfb1690 GP-1871 Overlapping pentry tags 2022-03-30 12:42:46 -04:00
Rubens Brandão
2de7447761
Fix tricore sleigh file
Similar to #4016, I found this macro `ifdef` to not be properly closed.
2022-02-23 09:41:57 -03:00
Greg Hogan
6a6db0faed fix tricore jla 2022-01-27 10:47:39 -08:00
Greg Hogan
de73507e60 fix tricore jl 2022-01-27 10:44:56 -08:00
Alexey Esaulenko
624d0f94d7 Infineon Tricore: simplify st.t instruction 2020-10-01 19:04:16 +03:00
ghidorahrex
223e93f4d0 Merge remote-tracking branch
'origin/GT-3467_ghidorahrex_tricore_storebit_bug'

Fixes #1463
2020-01-27 07:21:38 -05:00
ghidorahrex
463d5f2bf8 GT-3467: Corrected tricore store bit instruction 2020-01-21 10:39:15 -05:00
Ryan Kurtz
26cab55a64 Merge remote-tracking branch 'origin/GT-3424_ghidorahrex_PR-1302_mumbel_tricoredvinit' 2019-12-23 10:36:27 -05:00
mumbel
bdefdbb61a [tricore] Improved DVINIT instructions
DVINIT instruction operate better using the even/odd pair for the
initialization instead of using the 64-bit register.

Reported by @esaulenka
2019-12-01 10:55:46 -06:00
mumbel
5c439e913e [tricore] Misuse of abs() turned into int_abs macro 2019-11-25 15:21:02 -06:00
mumbel
cb298f224c Revert "[tricore] Fix usage of SLEIGH abs()"
This reverts commit efde3ebaea.
2019-11-25 14:20:38 -06:00
mumbel
efde3ebaea [tricore] Fix usage of SLEIGH abs()
Used abs() with integer, expecting integer results, which is incorrect

FLOAT_ABS - abs - Absolute value of v0 as floating point number.
2019-11-25 10:08:06 -06:00
emteere
f0810e42f2 GT-3104 Changed Tricore JLx instructions from GOTO to CALL 2019-08-23 15:08:35 -04:00
emteere
0a517e6864 GT-3041_emteere Added emulation tests and minor changes to calling
convention.  Assigning correct return storage will require a separate
change to core Ghidra.

Pulled-from: mumbel <22204578+mumbel@users.noreply.github.com>
2019-08-02 10:45:33 -04:00
mumbel
7fc76dbca4 [tricore] TRICORE processor module 2019-07-17 18:00:12 -05:00