power4 compiling

Hollis Blanchard hollisb at us.ibm.com
Wed Nov 5 02:21:44 EST 2003


On Tuesday, Nov 4, 2003, at 09:00 US/Central, Segher Boessenkool wrote:
>
> Use something like
>
> static inline void _tlbiel(unsigned long va)
> {
> 	__asm__ __volatile__(
> 		".long 0x7c000224 | (%0 << 11)" : : "r"(va)
> 	);
> }

If only we had some sort of automated tool to convert from
human-readable assembly language into binary instructions... then this
hack would be unnecessary. ;)

--
Hollis Blanchard
IBM Linux Technology Center


** Sent via the linuxppc64-dev mail list. See http://lists.linuxppc.org/





More information about the Linuxppc64-dev mailing list