diff options
author | Krste Asanovic <krste@eecs.berkeley.edu> | 2018-01-23 18:03:35 -0800 |
---|---|---|
committer | Krste Asanovic <krste@eecs.berkeley.edu> | 2018-01-23 18:03:35 -0800 |
commit | 7bfd26660ad4249197746c8f9eef0b47c70d5637 (patch) | |
tree | 8e3087afac838dc3014e566434777f9fd43b3df6 /src/rv64.tex | |
parent | 7e92970c25d6c245d78875465a65133bb228a727 (diff) | |
download | riscv-isa-manual-7bfd26660ad4249197746c8f9eef0b47c70d5637.zip riscv-isa-manual-7bfd26660ad4249197746c8f9eef0b47c70d5637.tar.gz riscv-isa-manual-7bfd26660ad4249197746c8f9eef0b47c70d5637.tar.bz2 |
Standardized on pseudoinstruction.
Closes #122
Diffstat (limited to 'src/rv64.tex')
-rw-r--r-- | src/rv64.tex | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rv64.tex b/src/rv64.tex index 5de9ea2..903c1dc 100644 --- a/src/rv64.tex +++ b/src/rv64.tex @@ -61,7 +61,7 @@ immediate to register {\em rs1} and produces the proper sign-extension of a 32-bit result in {\em rd}. Overflows are ignored and the result is the low 32 bits of the result sign-extended to 64 bits. Note, ADDIW {\em rd, rs1, 0} writes the sign-extension of the lower 32 bits -of register {\em rs1} into register {\em rd} (assembler pseudo-op +of register {\em rs1} into register {\em rd} (assembler psuedo-instruction SEXT.W). \vspace{-0.2in} @@ -247,7 +247,7 @@ low bits of register {\em rs2} to memory respectively. \section{System Instructions} In RV64I, the CSR instructions can manipulate 64-bit CSRs. In particular, the -RDCYCLE, RDTIME, and RDINSTRET pseudo-instructions read the full 64 bits of +RDCYCLE, RDTIME, and RDINSTRET pseudoinstructions read the full 64 bits of the {\tt cycle}, {\tt time}, and {\tt instret} counters. Hence, the RDCYCLEH, RDTIMEH, and RDINSTRETH instructions are not necessary and are illegal in RV64I. |