On Jul 7, 4:31pm, Xinan Tang wrote:
> Subject: "Generating 32-bit instruction"
> Hi
>
> What is the sgicc switch that forces the compiler
> generating 32-bits instructions rather than 64-bit ones.
>
> I would like to use the PamHall suite to test sgicc and
> I am not sure all test cases are 64-bit clean.
>
> Thanks
>
> --Tang
>
>
>-- End of excerpt from Xinan Tang
If your question is how can I generate IA-32 instructions from sgicc
then answer is you can't until somebody creates a backend that generates
IA-32 operations.
If your question is how can I compile a program using the ILP32 data model
(sizeof(int) == sizeof(long) == sizeof(void *) == 4) instead of the the
LP64 ( sizeof(long) == sizeof(void *) == 8) which is the data model
specified by the IA64 ABI, then the answer is there is no switch for
that. The libc on IA6s4 you need to link with is built using the LP64 data
model so you will have tons of problems.
-Ross A. Towle
|