Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions src/coreclr/jit/simd.h
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,9 @@ struct simd8_t
return {};
}
};
static_assert_no_msg(sizeof(simd8_t) == 8);

#include <pshpack4.h>
struct simd12_t
{
union {
Expand Down Expand Up @@ -109,6 +111,8 @@ struct simd12_t
return {};
}
};
#include <poppack.h>
static_assert_no_msg(sizeof(simd12_t) == 12);

struct simd16_t
{
Expand Down Expand Up @@ -161,6 +165,7 @@ struct simd16_t
return {};
}
};
static_assert_no_msg(sizeof(simd16_t) == 16);

#if defined(TARGET_XARCH)
struct simd32_t
Expand Down Expand Up @@ -215,6 +220,7 @@ struct simd32_t
return {};
}
};
static_assert_no_msg(sizeof(simd32_t) == 32);

struct simd64_t
{
Expand Down Expand Up @@ -269,6 +275,7 @@ struct simd64_t
return {};
}
};
static_assert_no_msg(sizeof(simd64_t) == 64);

typedef simd64_t simd_t;
#else
Expand Down