pike.git / src / code / riscv.h

version» Context lines:

pike.git/src/code/riscv.h:25:   #define JUMP_SET_TO_PC_AT_NEXT(PC) \    ((PC) = PROG_COUNTER + JUMP_EPILOGUE_SIZE)      void riscv_flush_codegen_state(void);   #define FLUSH_CODE_GENERATOR_STATE() riscv_flush_codegen_state()      void riscv_flush_instruction_cache(void *addr, size_t len);   #define FLUSH_INSTRUCTION_CACHE(ADDR,LEN) riscv_flush_instruction_cache(ADDR,LEN)      /* Size of the prologue added by INS_ENTRY() (in PIKE_OPCODE_T's). */ - #ifdef __riscv_compressed -  /* All the prologue instructions can be compressed */ -  #define ENTRY_PROLOGUE_SIZE 9 - #else -  /* No compression available */ -  #define ENTRY_PROLOGUE_SIZE (9*2) - #endif + /* The prologue instruction can not be compressed */ + #define ENTRY_PROLOGUE_SIZE (1*2)      void riscv_start_function(int no_pc);   void riscv_end_function(int no_pc);      #define START_NEW_FUNCTION riscv_start_function   #define END_FUNCTION riscv_end_function      void riscv_ins_entry(void);   #define INS_ENTRY() riscv_ins_entry()