General: Replace GC_ALIGN macros with alignas

Standard supported alignment -> out with compiler-specific.
This commit is contained in:
Lioncash
2015-09-05 11:44:21 -04:00
parent c08a83a5aa
commit 8ce04f9a65
19 changed files with 73 additions and 84 deletions

View File

@ -21,7 +21,7 @@ ARM64Reg stride_reg = X11;
ARM64Reg arraybase_reg = X10;
ARM64Reg scale_reg = X9;
static const float GC_ALIGNED16(scale_factors[]) =
alignas(16) static const float scale_factors[] =
{
1.0 / (1ULL << 0), 1.0 / (1ULL << 1), 1.0 / (1ULL << 2), 1.0 / (1ULL << 3),
1.0 / (1ULL << 4), 1.0 / (1ULL << 5), 1.0 / (1ULL << 6), 1.0 / (1ULL << 7),