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
5 changes: 3 additions & 2 deletions src/tests/Interop/StructPacking/StructPacking.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1326,9 +1326,10 @@ static bool TestVector256()
expectedOffsetValue: 8
);
}
else if (RuntimeInformation.ProcessArchitecture == Architecture.Arm64 || RuntimeInformation.ProcessArchitecture == Architecture.RiscV64)
else if (RuntimeInformation.ProcessArchitecture == Architecture.Arm64 || RuntimeInformation.ProcessArchitecture == Architecture.RiscV64
|| RuntimeInformation.ProcessArchitecture == Architecture.LoongArch64)
{
// The Procedure Call Standard for ARM64 and RiscV64 defines this type as having 16-byte alignment
// The Procedure Call Standard for ARM64, RiscV64, LoongArch64 defines this type as having 16-byte alignment

succeeded &= Test<DefaultLayoutDefaultPacking<Vector256<byte>>>(
expectedSize: 48,
Expand Down