This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

multi-precision in extended asm


Given that GCC provides 64 integers across many architectures
with only 32 bit wide registers I assume there is some general
framework for manipulating these objects.  Is there a way to
write a constraint that says "low order 32 bits of 64 bit
datum" or "high order 32 bits of 64 bit datum"?

In particular how would I express "arithmetic shift right 31
places the high 32 bits of a 64 bit integer to get a register
filled with a copy of the sign bit" on the x86? on the ppc?

--
John S. Yates, Jr.            508 665-6800  x897
Netezza Inc,  Suite 100       508 665-6811 (fax)
1671 Worcester Rd.          Framingham, MA 01701


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]