gcc 4.0 compiles kernel with altivec

Anton Blanchard anton at samba.org
Thu Feb 17 09:27:52 EST 2005


 
> What are those macros ?

Like the stuff we are using in arch/ppc64/kernel/head.S:

.machine        push
.machine        "power4"
        mtcrf   0x80,r9
        mtcrf   0x01,r9         /* slb_allocate uses cr0 and cr7 */
.machine        pop

Anton



More information about the Linuxppc64-dev mailing list