Skip to content
Commit 13116cf0 authored by Aaron Watry's avatar Aaron Watry
Browse files

relational: create re-usable macros for relational declarations



relational.h includes relational macros for defining functions which need to
return 1 for scalar true and -1 for vector true.

I believe that this is the only place that this behavior is required, so the
macro is placed at its lowest useful level (same directory as it is used in).

This also creates re-usable unary/binary declaration and floatn includes which
should simplify relational builtin declarations.

Mostly patterned off of include/math/[binary_decl|unary_decl|floatn].inc
but with required changes for relational functions.

Signed-off-by: default avatarAaron Watry <awatry@gmail.com>
Reviewed-by: default avatarTom Stellard <thomas.stellard@amd.com>
llvm-svn: 213315
parent cf973791
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment