/usr/include/pike7.8/pike/code/amd64.h is in pike7.8-dev 7.8.866-8.1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 | #if defined(_M_X64) && !defined(__GNUC__)
#define DEF_PROG_COUNTER void *amd64_pc; \
_asm { _asm mov amd64_pc, rbp }
#define PROG_COUNTER (((unsigned char **)amd64_pc)[1])
#else /* _M_X64_ && !__GNUC__ */
#ifdef OPCODE_RETURN_JUMPADDR
/* Don't need an lvalue in this case. */
#define PROG_COUNTER ((unsigned char *)__builtin_return_address(0))
#else
#define PROG_COUNTER (((unsigned char **)__builtin_frame_address(0))[1])
#endif
#endif
#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)
#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)))
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)++)
|