multi-precision in extended asm

John S. Yates, Jr. jyates@netezza.com
Tue May 14 06:20:00 GMT 2002


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



More information about the Gcc-help mailing list