mirror of
https://github.com/ldc-developers/ldc.git
synced 2025-04-30 07:00:46 +03:00
gccbuiltins: Lift 256-bit vector limit, adding 174 builtins for x86 with LLVM 10
Among which: pragma(LDC_intrinsic, "llvm.x86.avx512.pshuf.b.512") byte64 __builtin_ia32_pshufb512(byte64, byte64) pure @safe; and thus fixing #3405.
This commit is contained in:
parent
774d75c7aa
commit
370d57b5ea
1 changed files with 0 additions and 12 deletions
|
@ -52,18 +52,6 @@ string dtype(Record* rec, bool readOnlyMem)
|
|||
type = type.substr(i);
|
||||
}
|
||||
|
||||
if(vec.size() > 0 && type.size() > 0)
|
||||
{
|
||||
int typeSize, vecElements;
|
||||
if(
|
||||
sscanf(vec.c_str(), "%d", &vecElements) == 1 &&
|
||||
sscanf(type.c_str() + 1, "%d", &typeSize) == 1 &&
|
||||
typeSize * vecElements > 256)
|
||||
{
|
||||
return "";
|
||||
}
|
||||
}
|
||||
|
||||
if(type == "i8")
|
||||
return "byte" + vec;
|
||||
else if(type == "i16")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue