diff options
Diffstat (limited to 'src/System.Runtime.Intrinsics/ref')
-rw-r--r-- | src/System.Runtime.Intrinsics/ref/System.Runtime.Intrinsics.cs (renamed from src/System.Runtime.Intrinsics/ref/System.Runtime.Intrinsics.X86.cs) | 16 | ||||
-rw-r--r-- | src/System.Runtime.Intrinsics/ref/System.Runtime.Intrinsics.csproj | 4 |
2 files changed, 15 insertions, 5 deletions
diff --git a/src/System.Runtime.Intrinsics/ref/System.Runtime.Intrinsics.X86.cs b/src/System.Runtime.Intrinsics/ref/System.Runtime.Intrinsics.cs index 0f3f24effb..123eaae4a9 100644 --- a/src/System.Runtime.Intrinsics/ref/System.Runtime.Intrinsics.X86.cs +++ b/src/System.Runtime.Intrinsics/ref/System.Runtime.Intrinsics.cs @@ -9,12 +9,22 @@ using System.Runtime.InteropServices; namespace System.Runtime.Intrinsics { + [StructLayout(LayoutKind.Sequential, Size = 8)] + public struct Vector64<T> where T : struct + { + private int _dummy; + } [StructLayout(LayoutKind.Sequential, Size = 16)] - public struct Vector128<T> where T : struct {} + public struct Vector128<T> where T : struct + { + private int _dummy; + } [StructLayout(LayoutKind.Sequential, Size = 32)] - public struct Vector256<T> where T : struct {} + public struct Vector256<T> where T : struct + { + private int _dummy; + } } - namespace System.Runtime.Intrinsics.X86 { public static class Aes diff --git a/src/System.Runtime.Intrinsics/ref/System.Runtime.Intrinsics.csproj b/src/System.Runtime.Intrinsics/ref/System.Runtime.Intrinsics.csproj index 78a1f4b8fd..f699e7a679 100644 --- a/src/System.Runtime.Intrinsics/ref/System.Runtime.Intrinsics.csproj +++ b/src/System.Runtime.Intrinsics/ref/System.Runtime.Intrinsics.csproj @@ -9,10 +9,10 @@ <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'netcoreapp-Debug|AnyCPU'" /> <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'netcoreapp-Release|AnyCPU'" /> <ItemGroup> - <Compile Include="System.Runtime.Intrinsics.X86.cs" /> + <Compile Include="System.Runtime.Intrinsics.cs" /> </ItemGroup> <ItemGroup> <ProjectReference Include="..\..\System.Runtime\ref\System.Runtime.csproj" /> </ItemGroup> <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" /> -</Project>
\ No newline at end of file +</Project> |