mirror of
https://github.com/danbulant/Cosmos
synced 2026-05-21 21:38:52 +00:00
39 lines
751 B
C#
39 lines
751 B
C#
using Cosmos.Assembler.x86;
|
|
using Cosmos.Assembler.x86.SSE;
|
|
using Cosmos.Assembler.x86.x87;
|
|
using static XSharp.Compiler.XSRegisters;
|
|
|
|
namespace XSharp.Compiler
|
|
{
|
|
public partial class XS
|
|
{
|
|
public static class FPU
|
|
{
|
|
public static void FloatCompareAndSet(RegisterFPU register)
|
|
{
|
|
new FloatCompareAndSet
|
|
{
|
|
DestinationReg = register.RegEnum
|
|
};
|
|
}
|
|
|
|
public static void FloatStoreAndPop(RegisterFPU register)
|
|
{
|
|
new FloatStoreAndPop
|
|
{
|
|
DestinationReg = register.RegEnum
|
|
};
|
|
}
|
|
|
|
public static void FloatAbs()
|
|
{
|
|
new FloatABS();
|
|
}
|
|
|
|
public static void FloatInit()
|
|
{
|
|
new FloatInit();
|
|
}
|
|
}
|
|
}
|
|
}
|