With the addition of the function specific attributes support, the #pragma that the Altivec PIM describes can be implemented. #pragma altivec_codegen on | off When this pragma is on, the compiler may use AltiVec instructions. When you set this pragma off, the altivec_model pragma is also set to off. #pragma altivec_model on | off When this pragma is on, the compiler accepts the syntax specified in this document, and the altivec_codegen pragma is also set to on. #pragma altivec_vrsave on | off | allon When this pragma is on, the compiler maintains the VRSAVE register. With allon selected, the compiler changes the VRSAVE register to have all bits set. It is combined with #pragma altivec_vrsave off by having a parent function do the work once of setting the value of the VRSAVE register with #pragma altivec_vrsave allon and the function it calls uses the setting #pragma altivec_vrsave off.
-- Summary: Altivec #pragma's can be implemented now Product: gcc Version: 4.4.0 Status: UNCONFIRMED Severity: enhancement Priority: P3 Component: target AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: pinskia at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36927