[m-rev.] for review: add support for fused multiply-add to math module

Julien Fischer jfischer at opturion.com
Mon Jul 21 13:59:04 AEST 2014


On Mon, 21 Jul 2014, Peter Wang wrote:

> On Mon, 21 Jul 2014 13:06:56 +1000 (EST), Julien Fischer <jfischer at opturion.com> wrote:
>> diff --git a/runtime/mercury_conf.h.in b/runtime/mercury_conf.h.in
>> index 2223337..c2d4282 100644
>> --- a/runtime/mercury_conf.h.in
>> +++ b/runtime/mercury_conf.h.in
>> @@ -297,6 +297,7 @@
>>   **				pthread_mutexattr_setpshared() function.
>>   **	MR_HAVE_MKSTEMP		we have the mkstemp() function.
>>   **	MR_HAVE_SETRLIMIT	we have the setrlimit() function.
>> +**	MR_HAVE_FMA		we have the fma() function.
>>   */
>>   #undef	MR_HAVE_GETPID
>>   #undef	MR_HAVE_SETPGID
>> @@ -369,6 +370,7 @@
>>   #undef	MR_HAVE_PTHREAD_MUTEXATTR_SETPSHARED
>>   #undef	MR_HAVE_MKSTEMP
>>   #undef  MR_HAVE_SETRLIMIT
>> +#undef  MR_HAVE_FMA
>
> Please group it with the other math-related constants.
> MR_HAVE_FESETROUND could be moved up as well.

I've shifted them all down since I'm about to add a bunch of others.

Cheers,
Julien.



More information about the reviews mailing list