This is the mail archive of the gcc@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: [TESTCASE] Minimized testcase for AltiVec segfault


>>>>> "Alex" == Alex Rosenberg <alexr@spies.com> writes:

 > void entrypoint(...)
 > {
 > #pragma altivec_vrsave allon
 >   do_work();
 > }
 > ..

Well if you're going to do that, why not wrap the entire
program in:

main()
{
	asm("set all vrsave bits to on");
	do stuff
	asm("set all vrsave bits to off");
}

aldy


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