[Question] How can I get floating point registers on arm64

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi everyone,

I'm writing a uprobe program that I'm attaching to a function in a go
program on arm64. The function takes a float and as such loads the
parameters via 64-bit floating point registers i.e. `D0`.

However, the struct pt_regs context that uprobe programs have access
to only has a single set of 31 64-bit registers. These appear to be
the regular general purpose integer registers. My question is - how do
I access the second set of registers? If this question doesn't make
sense, am I misunderstanding how arm64 works?

Thanks so much,
Grant



[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux