kit

kit
git clone https://git.ryansepassi.com/git/kit.git
Log | Files | Refs | README

rv64.h (467B)


      1 #ifndef KIT_ARCH_RV64_H
      2 #define KIT_ARCH_RV64_H
      3 
      4 #include "arch/mc.h"
      5 #include "arch/native_target.h"
      6 
      7 typedef struct NativeOps NativeOps;
      8 
      9 NativeTarget* rv64_native_target_new(Compiler*, ObjBuilder*, MCEmitter*);
     10 const NativeOps* rv64_native_direct_ops(void);
     11 
     12 /* Shared low-level word emitters, defined in native.c and used by the
     13  * standalone assembler (asm.c). */
     14 void rv64_emit32(MCEmitter* mc, u32 word);
     15 void rv64_emit16(MCEmitter* mc, u32 halfword);
     16 
     17 #endif