[Issue 20652] New: extern(C++) doesn't seem to mangle the types in core.simd right
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon Mar 9 17:25:09 UTC 2020
https://issues.dlang.org/show_bug.cgi?id=20652
Issue ID: 20652
Summary: extern(C++) doesn't seem to mangle the types in
core.simd right
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P1
Component: dmd
Assignee: nobody at puremagic.com
Reporter: turkeyman at gmail.com
c++:
#include <immintrin.h>
void test(const __m128&) {}
d:
import core.simd;
extern(C++) void test(ref const float4);
void main()
{
float4 f4;
test(f4);
}
__mm128 doesn't seem to mangle right...
--
More information about the Digitalmars-d-bugs
mailing list