Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions src/lispmach.h
Original file line number Diff line number Diff line change
Expand Up @@ -436,6 +436,11 @@ list_ref (repv list, int elt)
#define SP_REG asm("%l1")
#define SLOTS_REG asm("%l2")
#endif
#ifdef __loongarch__
#define PC_REG asm("$s0")
#define SP_REG asm("$s1")
#define SLOTS_REG asm("$s2")
#endif
#ifdef __alpha__
#ifdef __CRAY__
#define PC_REG asm("r9")
Expand Down