mirror of
https://github.com/RPCSX/llvm.git
synced 2025-01-15 08:58:51 +00:00
7f4371b614
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@294753 91177308-0d34-0410-b5e6-96231b3b80d8
60 lines
2.0 KiB
C
60 lines
2.0 KiB
C
//===--- HexagonDepDecoders.h ---------------------------------------------===//
|
|
//
|
|
// The LLVM Compiler Infrastructure
|
|
//
|
|
// This file is distributed under the University of Illinois Open Source
|
|
// License. See LICENSE.TXT for details.
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
static DecodeStatus s4_0ImmDecoder(MCInst &MI, unsigned tmp,
|
|
uint64_t, const void *Decoder) {
|
|
signedDecoder<4>(MI, tmp, Decoder);
|
|
return MCDisassembler::Success;
|
|
}
|
|
static DecodeStatus s29_3ImmDecoder(MCInst &MI, unsigned tmp,
|
|
uint64_t, const void *Decoder) {
|
|
signedDecoder<14>(MI, tmp, Decoder);
|
|
return MCDisassembler::Success;
|
|
}
|
|
static DecodeStatus s8_0ImmDecoder(MCInst &MI, unsigned tmp,
|
|
uint64_t, const void *Decoder) {
|
|
signedDecoder<8>(MI, tmp, Decoder);
|
|
return MCDisassembler::Success;
|
|
}
|
|
static DecodeStatus s4_3ImmDecoder(MCInst &MI, unsigned tmp,
|
|
uint64_t, const void *Decoder) {
|
|
signedDecoder<7>(MI, tmp, Decoder);
|
|
return MCDisassembler::Success;
|
|
}
|
|
static DecodeStatus s31_1ImmDecoder(MCInst &MI, unsigned tmp,
|
|
uint64_t, const void *Decoder) {
|
|
signedDecoder<12>(MI, tmp, Decoder);
|
|
return MCDisassembler::Success;
|
|
}
|
|
static DecodeStatus s30_2ImmDecoder(MCInst &MI, unsigned tmp,
|
|
uint64_t, const void *Decoder) {
|
|
signedDecoder<13>(MI, tmp, Decoder);
|
|
return MCDisassembler::Success;
|
|
}
|
|
static DecodeStatus s6_0ImmDecoder(MCInst &MI, unsigned tmp,
|
|
uint64_t, const void *Decoder) {
|
|
signedDecoder<6>(MI, tmp, Decoder);
|
|
return MCDisassembler::Success;
|
|
}
|
|
static DecodeStatus s6_3ImmDecoder(MCInst &MI, unsigned tmp,
|
|
uint64_t, const void *Decoder) {
|
|
signedDecoder<9>(MI, tmp, Decoder);
|
|
return MCDisassembler::Success;
|
|
}
|
|
static DecodeStatus s4_1ImmDecoder(MCInst &MI, unsigned tmp,
|
|
uint64_t, const void *Decoder) {
|
|
signedDecoder<5>(MI, tmp, Decoder);
|
|
return MCDisassembler::Success;
|
|
}
|
|
static DecodeStatus s4_2ImmDecoder(MCInst &MI, unsigned tmp,
|
|
uint64_t, const void *Decoder) {
|
|
signedDecoder<6>(MI, tmp, Decoder);
|
|
return MCDisassembler::Success;
|
|
}
|