Port-arm archive

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

Re: Inline asm constraint help



On Thu, Jan 31, 2019 at 02:01:08AM +0200, Jason Thorpe wrote:
> Trying to fix a package on aarch64 and it needs some inline asm.  My problem: I can?t figure out the constraint modifier to force wN instead of xN for register operands.  The Internet Oracle has apparently deemed me unworthy of this knowledge.

Using the source it looks like:

(define_register_constraint "w" "FP_REGS"
  "Floating point and SIMD vector registers.")

or

(define_register_constraint "x" "FP_LO_REGS"
  "Floating point and SIMD vector registers V0 - V15.")

Is that what you mean?

Martin


Home | Main Index | Thread Index | Old Index