1#
2# RISC-V translation routines for the RVXI Base Integer Instruction Set.
3#
4# Copyright (c) 2018 Peer Adelt, peer.adelt@hni.uni-paderborn.de
5#                    Bastian Koppelmann, kbastian@mail.uni-paderborn.de
6#
7# This program is free software; you can redistribute it and/or modify it
8# under the terms and conditions of the GNU General Public License,
9# version 2 or later, as published by the Free Software Foundation.
10#
11# This program is distributed in the hope it will be useful, but WITHOUT
12# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
14# more details.
15#
16# You should have received a copy of the GNU General Public License along with
17# this program.  If not, see <http://www.gnu.org/licenses/>.
18
19# *** RV32C Standard Extension (Quadrant 0) ***
20flw               011  ... ... .. ... 00 @cl_w
21fsw               111  ... ... .. ... 00 @cs_w
22
23# *** RV32C Standard Extension (Quadrant 1) ***
24jal               001     ........... 01 @cj    rd=1  # C.JAL
25
26# *** RV32C Standard Extension (Quadrant 2) ***
27flw               011 .  .....  ..... 10 @c_lwsp
28fsw               111 .  .....  ..... 10 @c_swsp
29