Inline Assembly in svolume_mmx.c

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

 



Hello,
I asked a question on Stack Overflow
(http://stackoverflow.com/questions/10964893/q-in-inline-assembly-with-arch-i386)
a couple days ago, but thought I would ask here in case someone can
help me out. My question has to do with the use of the 'q' modifier to
%1 on line 110 of pulsecore/svolume_mmx.c (of PulseAudio release 1.1)

In particular, I'm trying to link PulseAudio to a 32-bit application
on my 64-bit mac. When I compile this file with the "-arch i386" flag,
the asm code generator fills in "%q1" to %rcx, which is a 64-bit
register. The assembler then can't assemble the file in 32-bit mode.
Using any combination of "-arch i386", "-m32" and "-march i386"
doesn't help.



[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux