87cac813436f25989835226f0be6ce41d66ef02d
[binutils-gdb.git] / include / opcode / ppc-svp64.h
1 /* ppc-svp64.h -- Header file for PowerPC opcode table (SVP64 extensions)
2 Copyright (C) 2022 Free Software Foundation, Inc.
3 Written by Dmitry Selyutin (ghostmansd).
4 Sponsored by NLnet and NGI POINTER under EU Grants 871528 and 957073.
5
6 This file is part of the GNU opcodes library.
7
8 This library is free software; you can redistribute it and/or modify
9 it under the terms of the GNU General Public License as published by
10 the Free Software Foundation; either version 3, or (at your option)
11 any later version.
12
13 It is distributed in the hope that it will be useful, but WITHOUT
14 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
15 or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public
16 License for more details.
17
18 You should have received a copy of the GNU General Public License
19 along with this file; see the file COPYING. If not, write to the
20 Free Software Foundation, 51 Franklin Street - Fifth Floor, Boston,
21 MA 02110-1301, USA. */
22
23 #ifndef PPC_SVP64_H
24 #define PPC_SVP64_H
25
26 #include "ppc-svp64-gen.h"
27
28 #ifdef __cplusplus
29 extern "C" {
30 #endif
31
32 struct svp64_extra_desc {
33 uint64_t (*get)(const struct svp64_insn *insn);
34 void (*set)(struct svp64_insn *insn, uint64_t value);
35 };
36
37 const struct svp64_extra_desc *
38 svp64_extra_desc (const struct svp64_desc *desc, ppc_opindex_t opindex);
39
40 #ifdef __cplusplus
41 }
42 #endif
43
44 #endif /* PPC_SVP64_H */