|
From: andypugh <no...@gi...> - 2026-04-07 21:33:43
|
Branch: refs/heads/master Home: https://github.com/LinuxCNC/linuxcnc Commit: 39245f5eff264ea163f3aeb3e8c2bddef0658a00 https://github.com/LinuxCNC/linuxcnc/commit/39245f5eff264ea163f3aeb3e8c2bddef0658a00 Author: Luca Toniolo <lu...@ai...> Date: 2026-04-07 (Tue, 07 Apr 2026) Changed paths: M docs/src/hal/basic-hal.adoc M docs/src/hal/rtcomps.adoc M docs/src/hal/tools.adoc M docs/src/hal/tutorial.adoc M docs/src/man/man3/hal_create_thread.3.adoc M docs/src/man/man3/hal_export_funct.3.adoc M docs/src/man/man3/rtapi_task_new.3.adoc M docs/src/man/man9/motion.9.adoc M src/hal/components/abs_s32.comp M src/hal/components/abs_s64.comp M src/hal/components/and2.comp M src/hal/components/bin2gray.comp M src/hal/components/bitmerge.comp M src/hal/components/bitslice.comp M src/hal/components/bitwise.comp M src/hal/components/charge_pump.comp M src/hal/components/comp.comp M src/hal/components/conv.comp.in M src/hal/components/dbounce.comp M src/hal/components/edge.comp M src/hal/components/estop_latch.comp M src/hal/components/flipflop.comp M src/hal/components/gantry.comp M src/hal/components/gray2bin.comp M src/hal/components/histobins.comp M src/hal/components/latencybins.comp M src/hal/components/led_dim.comp M src/hal/components/logic.comp M src/hal/components/lut5.comp M src/hal/components/maj3.comp M src/hal/components/match8.comp M src/hal/components/max31855.comp M src/hal/components/message.comp M src/hal/components/mkconv.sh M src/hal/components/multiclick.comp M src/hal/components/not.comp M src/hal/components/or2.comp M src/hal/components/reset.comp M src/hal/components/safety_latch.comp M src/hal/components/sample_hold.comp M src/hal/components/select8.comp M src/hal/components/sim_axis_hardware.comp M src/hal/components/sim_home_switch.comp M src/hal/components/sim_parport.comp M src/hal/components/sphereprobe.comp M src/hal/components/spindle.comp M src/hal/components/threads.c M src/hal/components/threadtest.comp M src/hal/components/timedelta.comp M src/hal/components/tof.comp M src/hal/components/toggle.comp M src/hal/components/toggle2nist.comp M src/hal/components/ton.comp M src/hal/components/tp.comp M src/hal/components/tristate_bit.comp M src/hal/components/updown.comp M src/hal/components/xor2.comp M src/hal/drivers/pcl720.comp M src/hal/drivers/serport.comp M src/hal/hal.h M src/hal/hal_lib.c M src/hal/utils/halcompile.g M src/rtapi/rtai_rtapi.c M src/rtapi/rtapi.h M src/rtapi/uspace_rtai.cc M src/rtapi/uspace_rtapi_app.cc M tests/halcompile/names/names_dont_match.comp M tests/halcompile/names/names_match.comp M tests/limit3/constraints/test.hal M tests/limit3/sunny-day/test.hal M tests/module-loading/rtapi-app-main-fails/rtapi_app_main_fails.comp M tests/symbols.0/test_define.comp M tests/symbols.0/test_use.comp M tests/symbols.1/test_define1.comp M tests/symbols.1/test_use1.comp Log Message: ----------- Deprecate uses_fp parameter in RTAPI and HAL APIs All threads now unconditionally save and restore FPU/SSE state, making the uses_fp parameter obsolete. Rather than removing it from the API (which would break out-of-tree components), this commit deprecates it with a grace period: RTAPI: uses_fp parameter is accepted but ignored; FPU state is always saved in rtapi_task_new() regardless of the value passed. HAL: uses_fp parameter is accepted but ignored in hal_export_funct(), hal_export_functf(), and hal_create_thread(). All functions and threads are always marked as FP-capable internally. The addf FP compatibility check is removed since all threads are now FP-capable. halcompile: fp/nofp keywords in function declarations now emit a deprecation warning and are treated as fp (always return 1). The keywords will be removed in a future version. Remove fp/nofp from all in-tree .comp files, conv.comp.in template, and mkconv.sh generator. Remove fp1= from test .hal files. Out-of-tree .comp files will still parse but emit a deprecation warning. Documentation: API man pages, tutorials, and guides updated with deprecation notices. Removed references to FP thread restrictions that no longer apply. No API signatures changed — out-of-tree components continue to compile unchanged but will see warnings from halcompile if they use fp/nofp. Based on patch by BsAtHome. Ref: linuxcnc/linuxcnc#3895 Commit: 5281dc2654c9c8884bf4a1fd868f9b9d3d6e77d1 https://github.com/LinuxCNC/linuxcnc/commit/5281dc2654c9c8884bf4a1fd868f9b9d3d6e77d1 Author: andypugh <an...@bo...> Date: 2026-04-07 (Tue, 07 Apr 2026) Changed paths: M docs/src/hal/basic-hal.adoc M docs/src/hal/rtcomps.adoc M docs/src/hal/tools.adoc M docs/src/hal/tutorial.adoc M docs/src/man/man3/hal_create_thread.3.adoc M docs/src/man/man3/hal_export_funct.3.adoc M docs/src/man/man3/rtapi_task_new.3.adoc M docs/src/man/man9/motion.9.adoc M src/hal/components/abs_s32.comp M src/hal/components/abs_s64.comp M src/hal/components/and2.comp M src/hal/components/bin2gray.comp M src/hal/components/bitmerge.comp M src/hal/components/bitslice.comp M src/hal/components/bitwise.comp M src/hal/components/charge_pump.comp M src/hal/components/comp.comp M src/hal/components/conv.comp.in M src/hal/components/dbounce.comp M src/hal/components/edge.comp M src/hal/components/estop_latch.comp M src/hal/components/flipflop.comp M src/hal/components/gantry.comp M src/hal/components/gray2bin.comp M src/hal/components/histobins.comp M src/hal/components/latencybins.comp M src/hal/components/led_dim.comp M src/hal/components/logic.comp M src/hal/components/lut5.comp M src/hal/components/maj3.comp M src/hal/components/match8.comp M src/hal/components/max31855.comp M src/hal/components/message.comp M src/hal/components/mkconv.sh M src/hal/components/multiclick.comp M src/hal/components/not.comp M src/hal/components/or2.comp M src/hal/components/reset.comp M src/hal/components/safety_latch.comp M src/hal/components/sample_hold.comp M src/hal/components/select8.comp M src/hal/components/sim_axis_hardware.comp M src/hal/components/sim_home_switch.comp M src/hal/components/sim_parport.comp M src/hal/components/sphereprobe.comp M src/hal/components/spindle.comp M src/hal/components/threads.c M src/hal/components/threadtest.comp M src/hal/components/timedelta.comp M src/hal/components/tof.comp M src/hal/components/toggle.comp M src/hal/components/toggle2nist.comp M src/hal/components/ton.comp M src/hal/components/tp.comp M src/hal/components/tristate_bit.comp M src/hal/components/updown.comp M src/hal/components/xor2.comp M src/hal/drivers/pcl720.comp M src/hal/drivers/serport.comp M src/hal/hal.h M src/hal/hal_lib.c M src/hal/utils/halcompile.g M src/rtapi/rtai_rtapi.c M src/rtapi/rtapi.h M src/rtapi/uspace_rtai.cc M src/rtapi/uspace_rtapi_app.cc M tests/halcompile/names/names_dont_match.comp M tests/halcompile/names/names_match.comp M tests/limit3/constraints/test.hal M tests/limit3/sunny-day/test.hal M tests/module-loading/rtapi-app-main-fails/rtapi_app_main_fails.comp M tests/symbols.0/test_define.comp M tests/symbols.0/test_use.comp M tests/symbols.1/test_define1.comp M tests/symbols.1/test_use1.comp Log Message: ----------- Merge pull request #3901 from grandixximo/fix/remove-uses-fp-2.10 Remove uses_fp parameter from RTAPI and HAL APIs Compare: https://github.com/LinuxCNC/linuxcnc/compare/658d666a6f55...5281dc2654c9 To unsubscribe from these emails, change your notification settings at https://github.com/LinuxCNC/linuxcnc/settings/notifications |