This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc 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: [PATCH] PowerPC: Add functions for shared resources hints


On Tue, Nov 27, 2012 at 11:31 AM, Roland McGrath <roland@hack.frob.com> wrote:
>> +static int
>> +do_test (void)
>> +{
>> +  __ppc_yield ();
>> +  __ppc_mdoio ();
>> +  __ppc_mdoom ();
>> +  return 0;
>> +}
>
> I don't understand the point of this test.
> It doesn't actually verify anything but that it compiles.

He actually used this test to verify that binutils was missing support
for the ISA 2.06 asm insns 'yield', 'mdoom', 'mdoio'.  Hence the
change to using the 'or' forms.  As it stands this test doesn't do
much now.

Ryan


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