From mboxrd@z Thu Jan 1 00:00:00 1970 From: Geoff Keating To: "David J Schinsing" Cc: gcc@gcc.gnu.org Subject: Re: PowerPC code generation Date: Wed, 05 Jul 2000 13:26:00 -0000 Message-id: References: X-SW-Source: 2000-07/msg00074.html "David J Schinsing" writes: > What can I do to get gcc to generate byte-reversed loads and stores > (like the lwbrx instruction, for example). Perhaps there's a way to define > a structure so as to generate them? You can use asm statements, like asm ("lwbrx %0, 0, %1" : "=r"(result) : "r"(&input), "X"(input)); at present, there is no way to have gcc generate such code without using asm statements. -- - Geoffrey Keating