Correct regressions with --with-float={soft,softfp} in the arm backend - lightning.git - Portable just-in-time compiler library

index : lightning.git
Portable just-in-time compiler library
summary refs log tree commit diff
path: root/lib/jit_arm-swf.c
diff options
context:
space:
mode:
authorpcpa <paulo.cesar.pereira.de.andrade@gmail.com>2012年12月22日 16:28:02 -0200
committerpcpa <paulo.cesar.pereira.de.andrade@gmail.com>2012年12月22日 16:28:02 -0200
commitadc854f1a7fa688f4cb3882a32f087cc89b116f6 (patch)
tree21ac7ddd9b99355bb14ba42e3f4693411e318fd0 /lib/jit_arm-swf.c
parent59255a493c517c18de633d8aa860c75d4936bb70 (diff)
downloadlightning-adc854f1a7fa688f4cb3882a32f087cc89b116f6.tar.gz
Correct regressions with --with-float={soft,softfp} in the arm backend
* lib/jit_arm.c: Correct use of wrong argument offset variable in armv7l or float/double argument for varargs function in armv7hl. Correct jit_getarg* logic in software float mode to match expected behavior in other backends, that is, if a function is not called, it is safe to use a few lightning calls before a next jit_getarg* call, as done in the test case check/stack.tst. The proper solution should be to extend the parser in lib/lightning.c to check if there is some float operation that will call some (libgcc?) function, but software float arm should be a very uncommon backend for lightning, so, just load the already in place arguments saved to stack, assuming the register argument was clobbered (what should not be the case most times...).
Diffstat (limited to 'lib/jit_arm-swf.c')
0 files changed, 0 insertions, 0 deletions
generated by cgit v1.2.3 (git 2.39.1) at 2025年10月02日 17:33:54 +0000

AltStyle によって変換されたページ (->オリジナル) /