mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-26 11:33:45 +08:00
sim/aarch64: remove two unused functions
These functions are not used. Clang warns about the unused functions, which is then converted into an error by -Werror. Delete the unused functions.
This commit is contained in:
parent
e0b3df3b4d
commit
36edbb454f
@ -83,22 +83,6 @@
|
||||
} \
|
||||
while (0)
|
||||
|
||||
/* Helper functions used by expandLogicalImmediate. */
|
||||
|
||||
/* for i = 1, ... N result<i-1> = 1 other bits are zero */
|
||||
static inline uint64_t
|
||||
ones (int N)
|
||||
{
|
||||
return (N == 64 ? (uint64_t)-1UL : ((1UL << N) - 1));
|
||||
}
|
||||
|
||||
/* result<0> to val<N> */
|
||||
static inline uint64_t
|
||||
pickbit (uint64_t val, int N)
|
||||
{
|
||||
return pickbits64 (val, N, N);
|
||||
}
|
||||
|
||||
static uint64_t
|
||||
expand_logical_immediate (uint32_t S, uint32_t R, uint32_t N)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user