This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
multi-precision in extended asm
- From: "John S. Yates, Jr." <jyates at netezza dot com>
- To: "gcc-help" <gcc-help at gcc dot gnu dot org>
- Date: Tue, 14 May 2002 09:20:13 -0400
- Subject: multi-precision in extended asm
- Organization: Netezza Corporation
- Reply-to: "John S. Yates, Jr." <jyates at netezza dot com>
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