diff options
author | Min Le <lemin.lm@antgroup.com> | 2020-10-29 16:04:44 +0800 |
---|---|---|
committer | Min Le <lemin.lm@antgroup.com> | 2020-10-29 22:34:38 +0800 |
commit | 185b88ecb8e1bf2c52ee3509379531d394fdc3e7 (patch) | |
tree | a4aadc126e842a58832f9983f5a70a411e890fa3 /pkg/sentry/state | |
parent | b0b275449b215c59b1621d509b07277c46c506f4 (diff) |
arm64: fix the fpsmid context save/restore issue
current when save fpsmid register is using following
instruction:
# FMOVD Fx, 16*1(R0)
this instruction will compiled to:
# str Dx, [x0, #16]
Dx is 64bit fp register not 128bit, then upper 64bit data
will be lossed, this will cause application meet many random
crash issue. need use 128bit register Vx or Q0 to save and
restore the fpsmid context.
Signed-off-by: Min Le <lemin.lm@antgroup.com>
Diffstat (limited to 'pkg/sentry/state')
0 files changed, 0 insertions, 0 deletions