This patch adds support for the hyperprivileged registers %hstick_offset
and %hstick_enable to the Sparc assembler. * config/tc-sparc.c (hpriv_reg_table): Added entries for %hstick_offset and %hstick_enable. * doc/c-sparc.texi (Sparc-Regs): Document the %hstick_offset and %hstick_enable hyperprivileged registers. * sparc-dis.c (v9_hpriv_reg_names): Names for %hstick_offset and %hstick_enable added. * gas/sparc/rdhpr.s: Test rd %hstick_offset and %hstick_enable. * gas/sparc/rdhpr.d: Likewise. * gas/sparc/wrhpr.s: Test wr %hstick_offset and %hstick_enable. * gas/sparc/wrhpr.d: Likewise.
This commit is contained in:
parent
999bf65c4b
commit
ec92c392f7
10 changed files with 43 additions and 7 deletions
|
@ -97,7 +97,7 @@ static char *v9_hpriv_reg_names[] =
|
|||
"resv7", "resv8", "resv9", "resv10", "resv11", "resv12", "resv13",
|
||||
"resv14", "resv15", "resv16", "resv17", "resv18", "resv19", "resv20",
|
||||
"resv21", "resv22", "resv23", "resv24", "resv25", "resv26", "resv27",
|
||||
"resv28", "resv29", "resv30", "hstick_cmpr"
|
||||
"hstick_offset", "hstick_enable", "resv30", "hstick_cmpr"
|
||||
};
|
||||
|
||||
/* These are ordered according to there register number in
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue