Commit Graph

123 Commits

Author SHA1 Message Date
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
Nicolas Kruse 501bd5bee3 example generation to track down sqrt issue 2025-10-26 14:08:09 +01:00
Nicolas Kruse e400eff2b0 compiler: Added patching for aux functions 2025-10-26 12:37:44 +01:00
Nicolas Kruse df84b61a7b vector type added, sqrt and ge/le added; type hints improved 2025-10-25 21:36:31 +02:00
Nicolas Kruse cb1447f125 refactoring API generics 2025-10-24 00:41:34 +02:00
Nicolas Kruse a8280f8d2d vector typing advanced 2025-10-24 00:35:41 +02:00
Nicolas Kruse 38a0959c82 Merge branch 'main' into vector_feature 2025-10-23 17:31:58 +02:00
Nicolas Kruse f61591a6ca Changed cpfloat, cpint etc. to generic variable[float] etc. 2025-10-23 17:23:12 +02:00
Nicolas Kruse db7216d0b6 partial vector implementation added 2025-10-23 12:49:30 +02:00
Nicolas Kruse ba4531ee69 support for stencils using heap stored constants added 2025-10-23 23:24:57 +02:00
Nicolas Kruse 1277369f06 fast c pow function integrated including unit test 2025-10-20 22:25:13 +02:00
Nicolas Kruse 51f6eb1538 Code rearranged and split to different files 2025-10-19 23:24:14 +02:00
Nicolas Kruse c55ae827d7 specific tipe hints for read_value added 2025-10-19 22:48:39 +02:00
Nicolas Kruse 067e4f32eb iif function added with test 2025-10-19 22:48:52 +02:00
Nicolas Kruse 47375a2f3c pow and cast partially implemented 2025-10-18 23:26:35 +02:00