pike.git / src / code / amd64.h

version» Context lines:

pike.git/src/code/amd64.h:59: Inside #if defined(OPCODE_RETURN_JUMPADDR)
  #ifdef OPCODE_RETURN_JUMPADDR   /* Adjust for the machine code inserted after the call for I_JUMP opcodes. */   #define JUMP_EPILOGUE_SIZE 2   #define JUMP_SET_TO_PC_AT_NEXT(PC) \    ((PC) = PROG_COUNTER + JUMP_EPILOGUE_SIZE)   #else   #define JUMP_EPILOGUE_SIZE 0   #endif      #define LOW_GET_JUMP() \ -  EXTRACT_INT(PROG_COUNTER + JUMP_EPILOGUE_SIZE) +  (INT32)get_unaligned32(PROG_COUNTER + JUMP_EPILOGUE_SIZE)   #define LOW_SKIPJUMP() \    (SET_PROG_COUNTER(PROG_COUNTER + JUMP_EPILOGUE_SIZE + sizeof(INT32)))         #define ins_pointer(PTR) ins_int((PTR), (void (*)(char))add_to_program)   #define read_pointer(OFF) read_int(OFF)   #define upd_pointer(OFF, PTR) upd_int(OFF, PTR)   #define ins_align(ALIGN) do { \    while(Pike_compiler->new_program->num_program % (ALIGN)) { \    add_to_program(0); \    } \    } while(0)   #define ins_byte(VAL) add_to_program(VAL)   #define ins_data(VAL) ins_int((VAL), (void (*)(char))add_to_program) - #define read_program_data(PTR, OFF) EXTRACT_INT((PTR) + (sizeof(INT32)*(OFF))) + #define read_program_data(PTR, OFF) (INT32)get_unaligned32((PTR) + (sizeof(INT32)*(OFF)))      void amd64_update_pc(void);      #define UPDATE_PC() amd64_update_pc()      extern ptrdiff_t amd64_prev_stored_pc;      #define READ_INCR_BYTE(PC) EXTRACT_UCHAR((PC)++)      void amd64_disassemble_code(PIKE_OPCODE_T *pc, size_t len);   #define DISASSEMBLE_CODE(PC, LEN) amd64_disassemble_code((PC), (LEN))