Commit Graph

137 Commits

Author SHA1 Message Date
Nicolas Kruse 89e8efb864 read_value function extended to work with vectors 2025-11-27 17:20:07 +01:00
Nicolas Kruse ad78c4089c type annotations for iif function fixed 2025-11-27 17:19:25 +01:00
Nicolas Kruse 99a880861a typing fixed, variable[bool] replaced by variable[int] 2025-11-27 12:50:53 +01:00
Nicolas 77924a5655 Aux functions are now copied with there whole section to alow for branches without relocation inside of sections. 2025-11-24 16:40:37 +01:00
Nicolas Kruse 1a062760f7 detect_process_arch() updated to work for armv7 2025-11-24 16:40:37 +01:00
Nicolas 4c4e83a18e R_ARM_JUMP24 & R_ARM_CALL patching added 2025-11-24 16:40:37 +01:00
Nicolas d5786d2957 addend retrieval removed from patch_arm32_abs (moved to pelfy) 2025-11-24 16:40:37 +01:00
Nicolas 3b1c8f0e72 detection for different arm architectures added 2025-11-24 16:40:37 +01:00
Nicolas 96a1a153d4 PATCH_OBJECT_ARM32_ABS patching added to support 32 bit ARM 2025-11-24 16:40:37 +01:00
Nicolas Kruse 4049928139 vector functions extended 2025-11-19 10:01:30 +01:00
Nicolas Kruse ebb3b89e69 math functions extended for vector. switched acos function. 2025-11-17 08:33:29 +01:00
Nicolas Kruse 700d46e404 Compiler performance improved, caching added for get_stencil_code function 2025-11-14 22:47:59 +01:00
Nicolas 20a8dcd1a2 Single argument functions do not need a dummy argument anymore 2025-11-14 17:28:05 +01:00
Nicolas 0c2f2812db caching for stencil_database.get_relocations added 2025-11-14 16:23:51 +01:00
Nicolas ab589449a3 Added _ADD_ABS_LO12_NC relocation for ARM; fixed addend for R_386_PC32 and R_386_32; fixed get_return_function_type and strip_function to work with stencils that do the passing on call not at the end 2025-11-14 11:12:36 +01:00
Nicolas 0f464d74a5 ENTRY_POINT output in runner fixed 2025-11-14 11:12:36 +01:00
Nicolas b037e4e3fb get_42 test function updated 2025-11-14 11:12:36 +01:00
Nicolas 0242e32713 Patching offset fixed in Patch aux function loop, debug prints removed 2025-11-14 11:12:36 +01:00
Nicolas ee4d22265c python pow function fixed and changed to musl implementation 2025-11-14 11:12:36 +01:00
Nicolas 5b77ce236f atan2 python function fixed 2025-11-14 11:12:36 +01:00
Nicolas 8413eecdd4 debugging printfs added 2025-11-14 11:12:36 +01:00
Nicolas 6416df1335 allowing branching in stencils by patching all passing-on-jump instructions and stripping only the last jump instruction if its the last instruction in the function 2025-11-11 15:54:11 +01:00
Nicolas f345d02120 fixed aux function alignment in get_aux_function_mem_layout 2025-11-11 09:11:12 +01:00
Nicolas b8613f3d98 alignment of section fixed 2025-11-10 20:08:17 +01:00
Nicolas 9f211dfda3 selection of default architecture changed from system to current process (new function detect_process_arch added) 2025-11-10 20:06:48 +01:00
Nicolas aa0c75afc6 x64 32 bit support added 2025-11-09 16:28:39 +01:00
Nicolas b6242e12d7 index error in the aarch64 fix solved 2025-11-07 16:37:20 +01:00
Nicolas 7c77c42b80 issue with wrong results on aarch64 fixed, by guarding registers for the write op 2025-11-07 16:37:20 +01:00
Nicolas Kruse 8572d44bf9 tests for inverse trig and log functions added 2025-11-07 16:37:20 +01:00
Nicolas Kruse d1935a34f8 inverse trig functions and log, exp and pow function added 2025-11-07 16:37:20 +01:00
Nicolas Kruse e0c4bd5280 ci: logging extended and docker image switched 2025-11-07 16:37:20 +01:00
Nicolas Kruse 24e19dca35 get_op_after_last_call_in_function fixed 2025-11-07 16:37:20 +01:00
Nicolas Kruse f97d21e42c code style fixed and type hints in get_binaries.py fixed 2025-11-07 16:37:20 +01:00
Nicolas Kruse b7e2ab1fbd Fix of _LDST64_ABS_LO12_NC relocation 2025-11-07 16:37:20 +01:00
Nicolas Kruse 358838cb33 New patch instruction for absolut addresses added PATCH_OBJECT_ABS 2025-11-07 16:37:20 +01:00
Nicolas aeeddc2164 debug prints cleaned up 2025-11-07 16:37:20 +01:00
Nicolas 8dc629b6e4 c code updated with discrete type conversions 2025-11-07 16:37:20 +01:00
Nicolas ed6bb1bc52 aarch64 relocation support for objects added and is working 2025-11-07 16:37:20 +01:00
Nicolas 73d32a07b1 Patching constants for aux functions fixed 2025-11-01 13:42:50 +01:00
Nicolas Kruse 20f880feae sin, cos and tan added 2025-11-01 00:42:15 +01:00
Nicolas 926bb9f85f extract code tool updated to output addresses in
hex and some fixes and aarch64 deactivated
2025-10-31 19:06:50 +01:00
Nicolas e8a73c088e Compiler rewritten for aarch64 support 2025-10-31 16:56:51 +01:00
Nicolas 0ff43e62ab fix for allowing different jump/call instruction lengths 2025-10-30 14:01:55 +01:00
Nicolas a9b52bcf24 Cross compilation for aarch64-runner added 2025-10-30 12:08:13 +01:00
Nicolas Kruse f60df09fa7 patch command updated for arm support 2025-10-29 22:53:40 +01:00
Nicolas Kruse 7584b316fc Docstrings added and updated 2025-10-28 23:16:04 +01:00
Nicolas Kruse a971b98f2d ruff config added for replacing flake8, code style und naming changes 2025-10-26 22:35:47 +01:00
Nicolas Kruse 6445ac9724 relocation patching for constants is fixed, tests added 2025-10-26 22:26:12 +01:00
Nicolas Kruse ac6854ff9b test stencils and aux functions added, including test 2025-10-26 16:08:45 +01:00
Nicolas Kruse fb4df412ce extract_code tool: added patching of function call relocations 2025-10-26 15:19:38 +01:00