]> git.proxmox.com Git - mirror_qemu.git/blame - target/riscv/insn16-64.decode
Merge remote-tracking branch 'remotes/armbru/tags/pull-monitor-2019-07-02-v2' into...
[mirror_qemu.git] / target / riscv / insn16-64.decode
CommitLineData
0e68e240
RH
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# *** RV64C Standard Extension (Quadrant 0) ***
20ld 011 ... ... .. ... 00 @cl_d
21sd 111 ... ... .. ... 00 @cs_d
22
23# *** RV64C Standard Extension (Quadrant 1) ***
4cc16b3b
RH
24{
25 illegal 001 - 00000 ----- 01 # c.addiw, RES rd=0
26 addiw 001 . ..... ..... 01 @ci
27}
0e68e240
RH
28subw 100 1 11 ... 00 ... 01 @cs_2
29addw 100 1 11 ... 01 ... 01 @cs_2
30
31# *** RV64C Standard Extension (Quadrant 2) ***
4cc16b3b
RH
32{
33 illegal 011 - 00000 ----- 10 # c.ldsp, RES rd=0
34 ld 011 . ..... ..... 10 @c_ldsp
35}
0e68e240 36sd 111 . ..... ..... 10 @c_sdsp