summaryrefslogtreecommitdiff
path: root/src/arch/arm/isa/insts/neon.isa
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/arm/isa/insts/neon.isa')
-rw-r--r--src/arch/arm/isa/insts/neon.isa12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/arch/arm/isa/insts/neon.isa b/src/arch/arm/isa/insts/neon.isa
index b1ad1eeb3..3296b3b55 100644
--- a/src/arch/arm/isa/insts/neon.isa
+++ b/src/arch/arm/isa/insts/neon.isa
@@ -565,7 +565,7 @@ output exec {{
static float
vcgtFunc(float op1, float op2)
{
- if (isSnan(op1) || isSnan(op2))
+ if (std::isnan(op1) || std::isnan(op2))
return 2.0;
return (op1 > op2) ? 0.0 : 1.0;
}
@@ -573,7 +573,7 @@ output exec {{
static float
vcgeFunc(float op1, float op2)
{
- if (isSnan(op1) || isSnan(op2))
+ if (std::isnan(op1) || std::isnan(op2))
return 2.0;
return (op1 >= op2) ? 0.0 : 1.0;
}
@@ -589,7 +589,7 @@ output exec {{
static float
vcleFunc(float op1, float op2)
{
- if (isSnan(op1) || isSnan(op2))
+ if (std::isnan(op1) || std::isnan(op2))
return 2.0;
return (op1 <= op2) ? 0.0 : 1.0;
}
@@ -597,7 +597,7 @@ output exec {{
static float
vcltFunc(float op1, float op2)
{
- if (isSnan(op1) || isSnan(op2))
+ if (std::isnan(op1) || std::isnan(op2))
return 2.0;
return (op1 < op2) ? 0.0 : 1.0;
}
@@ -605,7 +605,7 @@ output exec {{
static float
vacgtFunc(float op1, float op2)
{
- if (isSnan(op1) || isSnan(op2))
+ if (std::isnan(op1) || std::isnan(op2))
return 2.0;
return (fabsf(op1) > fabsf(op2)) ? 0.0 : 1.0;
}
@@ -613,7 +613,7 @@ output exec {{
static float
vacgeFunc(float op1, float op2)
{
- if (isSnan(op1) || isSnan(op2))
+ if (std::isnan(op1) || std::isnan(op2))
return 2.0;
return (fabsf(op1) >= fabsf(op2)) ? 0.0 : 1.0;
}