mirror of
https://github.com/libretro/Play-.git
synced 2025-01-09 18:10:57 +00:00
CodeGen: Added x64 code generator skeleton.
git-svn-id: http://svn.purei.org/purei/trunk@641 b36208d7-6611-0410-8bec-b1987f11c4a2
This commit is contained in:
parent
ad6e573710
commit
5a9df26edf
18
tools/CodeGen/Source/Jitter_CodeGen_x86_64.cpp
Normal file
18
tools/CodeGen/Source/Jitter_CodeGen_x86_64.cpp
Normal file
@ -0,0 +1,18 @@
|
||||
#include "Jitter_CodeGen_x86_64.h"
|
||||
|
||||
using namespace Jitter;
|
||||
|
||||
CCodeGen_x86_64::CCodeGen_x86_64()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
CCodeGen_x86_64::~CCodeGen_x86_64()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
unsigned int CCodeGen_x86_64::GetAvailableRegisterCount() const
|
||||
{
|
||||
return 7;
|
||||
}
|
21
tools/CodeGen/Source/Jitter_CodeGen_x86_64.h
Normal file
21
tools/CodeGen/Source/Jitter_CodeGen_x86_64.h
Normal file
@ -0,0 +1,21 @@
|
||||
#ifndef _JITTER_CODEGEN_X86_64_H_
|
||||
#define _JITTER_CODEGEN_X86_64_H_
|
||||
|
||||
#include "Jitter_CodeGen_x86.h"
|
||||
|
||||
namespace Jitter
|
||||
{
|
||||
class CCodeGen_x86_64 : public CCodeGen_x86
|
||||
{
|
||||
public:
|
||||
CCodeGen_x86_64();
|
||||
virtual ~CCodeGen_x86_64();
|
||||
|
||||
unsigned int GetAvailableRegisterCount() const;
|
||||
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
#endif
|
Loading…
Reference in New Issue
Block a user