I Extension

Versions

2.1.0
State

ratified

Ratification date

2019-06

Changes
  • ratified RVWMO memory model and exclusion of FENCE.I, counters, and CSR instructions that were in previous base ISA

Synopsis

Base integer instructions — TODO

Instructions

The following instructions are defined by this extension:

add

Integer add

addi

Add immediate

addiw

Add immediate word

addw

Add word

and

And

andi

And immediate

auipc

Add upper immediate to pc

beq

Branch if equal

bge

Branch if greater than or equal

bgeu

Branch if greater than or equal unsigned

blt

Branch if less than

bltu

Branch if less than unsigned

bne

Branch if not equal

ebreak

Breakpoint exception

ecall

Environment call

fence

Memory ordering fence

jal

Jump and link

jalr

Jump and link register

lb

Load byte

lbu

Load byte unsigned

ld

Load doubleword

lh

Load halfword

lhu

Load halfword unsigned

lui

Load upper immediate

lw

Load word

lwu

Load word unsigned

or

Or

ori

Or immediate

sb

Store byte

sd

Store doubleword

sh

Store halfword

sll

Shift left logical

slli

Shift left logical immediate

slliw

Shift left logical immediate word

sllw

Shift left logical word

slt

Set on less than

slti

Set on less than immediate

sltiu

Set on less than immediate unsigned

sltu

Set on less than unsigned

sra

Shift right arithmetic

srai

Shift right arithmetic immediate

sraiw

Shift right arithmetic immediate word

sraw

Shift right arithmetic word

srl

Shift right logical

srli

Shift right logical immediate

srliw

Shift right logical immediate word

srlw

Shift right logical word

sub

Subtract

subw

Subtract word

sw

Store word

xor

Exclusive Or

xori

Exclusive Or immediate