This is the mail archive of the gcc-patches@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]

Re: ICE outputting unaligned fp constant on powerpc-apple-darwin5.1


>>>>> Richard Henderson writes:

Richard> GCC is *not* designating what is allowed and what is not allowed;
Richard> GCC does not know what is actually *available* in the assembler.

Richard> You may not remove this check without providing unaligned fp 
Richard> output macros.  Otherwise you don't know that the assembler won't
Richard> auto-align the data for you.

Richard> Thus my suggestion to remove all of the fp output macros in favor
Richard> of using the unaligned integer output macros.

	But the test is wrong.  Why should GCC assume the minimum
alignment that the assembler will insert?

	If the assembler will insert alignment, it is up to the person
developing the port to ensure that the output will be correct, not up to
GCC.

David


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