mirror of
https://github.com/danbulant/Cosmos
synced 2026-05-22 13:58:47 +00:00
44 lines
834 B
C#
44 lines
834 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();
|
|
}
|
|
|
|
public static void FloatNegate()
|
|
{
|
|
new FloatNegate();
|
|
}
|
|
}
|
|
}
|
|
}
|