Expect support for half and transcendentals from all generic targets

This commit is contained in:
Matt Pharr
2012-05-18 06:13:45 -07:00
parent f4df2fb176
commit 299ae186f1

View File

@@ -238,6 +238,8 @@ Target::GetTarget(const char *arch, const char *cpu, const char *isa,
t->vectorWidth = 4;
t->maskingIsFree = true;
t->maskBitCount = 1;
t->hasHalf = true;
t->hasTranscendentals = true;
}
else if (!strcasecmp(isa, "generic-8")) {
t->isa = Target::GENERIC;
@@ -245,6 +247,8 @@ Target::GetTarget(const char *arch, const char *cpu, const char *isa,
t->vectorWidth = 8;
t->maskingIsFree = true;
t->maskBitCount = 1;
t->hasHalf = true;
t->hasTranscendentals = true;
}
else if (!strcasecmp(isa, "generic-16")) {
t->isa = Target::GENERIC;