Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
aarch64: Fix floating point retval recording
It seems that the address of 'float_retval' is loaded instead of its return value, so it has to be dereferenced when it's passed to inline assembly code. Before: $ gcc -pg -g float.c $ uftrace -R float_add@retval/f32 -F float_add a.out 0.100000 # DURATION TID FUNCTION 8.959 us [ 4424] | float_add() = -593125376.000000; After: $ gcc -pg -g float.c $ uftrace -R float_add@retval/f32 -F float_add a.out 0.100000 # DURATION TID FUNCTION 1.303 us [ 4653] | float_add() = 0.100000; Signed-off-by: Honggyu Kim <[email protected]>
- Loading branch information