Daily update on 20250618-051714 by Nitload Youmu. Additional Message : Brief support to collection operation in EXPRESS. A collection type added in core lib and compilestack.
Signed-off-by: Nitload <YoumuLiu_NSI@whv0t.onmicrosoft.com>
This commit is contained in:
@@ -71,8 +71,7 @@ namespace StgSharp.Internal.Intrinsic
|
||||
[MethodImpl( MethodImplOptions.AggressiveInlining )]
|
||||
public bool Equals( ColumnSet2 other )
|
||||
{
|
||||
return colum0.Equals( other.colum0 ) && colum1.Equals(
|
||||
other.colum1 );
|
||||
return colum0.Equals( other.colum0 ) && colum1.Equals( other.colum1 );
|
||||
}
|
||||
|
||||
[MethodImpl( MethodImplOptions.AggressiveInlining )]
|
||||
|
||||
@@ -67,8 +67,9 @@ namespace StgSharp.Internal.Intrinsic
|
||||
[MethodImpl( MethodImplOptions.AggressiveInlining )]
|
||||
public bool Equals( ColumnSet3 other )
|
||||
{
|
||||
return colum0.Equals( other.colum0 ) && colum1.Equals(
|
||||
other.colum1 ) && colum2.Equals( other.colum2 );
|
||||
return colum0.Equals( other.colum0 ) &&
|
||||
colum1.Equals( other.colum1 ) &&
|
||||
colum2.Equals( other.colum2 );
|
||||
}
|
||||
|
||||
[MethodImpl( MethodImplOptions.AggressiveInlining )]
|
||||
|
||||
@@ -65,11 +65,7 @@ namespace StgSharp.Internal.Intrinsic
|
||||
[FieldOffset( 60 )] public float m33;
|
||||
|
||||
[MethodImpl( MethodImplOptions.AggressiveInlining )]
|
||||
internal ColumnSet4(
|
||||
Vector4 colum0,
|
||||
Vector4 colum1,
|
||||
Vector4 colum2,
|
||||
Vector4 colum3 )
|
||||
internal ColumnSet4( Vector4 colum0, Vector4 colum1, Vector4 colum2, Vector4 colum3 )
|
||||
{
|
||||
Unsafe.SkipInit( out this );
|
||||
this.colum0 = colum0;
|
||||
@@ -86,9 +82,10 @@ namespace StgSharp.Internal.Intrinsic
|
||||
[MethodImpl( MethodImplOptions.AggressiveInlining )]
|
||||
public bool Equals( ColumnSet4 other )
|
||||
{
|
||||
return colum0.Equals( other.colum0 ) && colum1.Equals(
|
||||
other.colum1 ) && colum2.Equals( other.colum2 ) && colum3.Equals(
|
||||
other.colum3 );
|
||||
return colum0.Equals( other.colum0 ) &&
|
||||
colum1.Equals( other.colum1 ) &&
|
||||
colum2.Equals( other.colum2 ) &&
|
||||
colum3.Equals( other.colum3 );
|
||||
}
|
||||
|
||||
[MethodImpl( MethodImplOptions.AggressiveInlining )]
|
||||
|
||||
@@ -44,7 +44,6 @@ namespace StgSharp.Internal.Intrinsic
|
||||
[StructLayout( LayoutKind.Sequential )]
|
||||
internal unsafe struct IntrinsicContext
|
||||
{
|
||||
|
||||
public delegate* unmanaged[Cdecl]<ColumnSet2*, ColumnSet2*, ColumnSet2*, void> add_mat_2;
|
||||
public delegate* unmanaged[Cdecl]<ColumnSet3*, ColumnSet3*, ColumnSet3*, void> add_mat_3;
|
||||
public delegate* unmanaged[Cdecl]<ColumnSet4*, ColumnSet4*, ColumnSet4*, void> add_mat_4;
|
||||
|
||||
@@ -40,8 +40,7 @@ namespace StgSharp.Internal
|
||||
internal static unsafe partial class InternalIO
|
||||
{
|
||||
|
||||
private static readonly IntrinsicContext _intrinsicContext = new IntrinsicContext(
|
||||
);
|
||||
private static readonly IntrinsicContext _intrinsicContext = new IntrinsicContext();
|
||||
|
||||
internal static IntrinsicContext Intrinsic
|
||||
{
|
||||
@@ -56,7 +55,8 @@ namespace StgSharp.Internal
|
||||
statCode = LoadIntrinsicFunction( cptr );
|
||||
}
|
||||
|
||||
switch( statCode ) {
|
||||
switch( statCode )
|
||||
{
|
||||
case 0:
|
||||
|
||||
//Dialogue.PostError(new PlatformNotSupportedException("No SIMD instructions supported on current hardware platform"));
|
||||
@@ -69,8 +69,7 @@ namespace StgSharp.Internal
|
||||
|
||||
[LibraryImport( SSC_libName, EntryPoint = "load_intrinsic_function" )]
|
||||
[UnmanagedCallConv( CallConvs = [typeof( CallConvCdecl )] )]
|
||||
private static partial int LoadIntrinsicFunction(
|
||||
IntrinsicContext* context );
|
||||
private static partial int LoadIntrinsicFunction( IntrinsicContext* context );
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user