aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormaximilian attems <max@stro.at>2011-05-11 16:52:09 +0200
committermaximilian attems <max@stro.at>2011-05-18 10:35:16 +0200
commitb9302324788ef9901f8e687ab21a98bccbd8e426 (patch)
tree31063eed6dfcf2c15f3af8f6129f4cbc4a44f65a
parente4395063f13b4a4aedebc3ce58c09c9c193d1d82 (diff)
downloadklibc-b9302324788ef9901f8e687ab21a98bccbd8e426.tar.gz
[klibc] arm: no usage of ARM_VALID_IMM() anymoreklibc-1.5.22
Since bd56c54ae409a2c36d23e61d4075e2d1ffcd1a23 aka klibc 1.4.1 the usage of that macro is gone, so just get rid of it. Signed-off-by: maximilian attems <max@stro.at>
-rw-r--r--usr/include/arch/arm/klibc/asmmacros.h20
1 files changed, 0 insertions, 20 deletions
diff --git a/usr/include/arch/arm/klibc/asmmacros.h b/usr/include/arch/arm/klibc/asmmacros.h
index 45bea0e96e5e6..a6810cea42478 100644
--- a/usr/include/arch/arm/klibc/asmmacros.h
+++ b/usr/include/arch/arm/klibc/asmmacros.h
@@ -7,26 +7,6 @@
#ifndef _KLIBC_ASMMACROS_H
#define _KLIBC_ASMMACROS_H
-/* An immediate in ARM can be any 8-bit value rotated by an even number of bits */
-
-#define ARM_VALID_IMM(x) \
- ((((x) & ~0x000000ff) == 0) || \
- (((x) & ~0x000003fc) == 0) || \
- (((x) & ~0x00000ff0) == 0) || \
- (((x) & ~0x00003fc0) == 0) || \
- (((x) & ~0x0000ff00) == 0) || \
- (((x) & ~0x0003fc00) == 0) || \
- (((x) & ~0x000ff000) == 0) || \
- (((x) & ~0x003fc000) == 0) || \
- (((x) & ~0x00ff0000) == 0) || \
- (((x) & ~0x03fc0000) == 0) || \
- (((x) & ~0x0ff00000) == 0) || \
- (((x) & ~0x3fc00000) == 0) || \
- (((x) & ~0xff000000) == 0) || \
- (((x) & ~0xfc000003) == 0) || \
- (((x) & ~0xf000000f) == 0) || \
- (((x) & ~0xc000003f) == 0))
-
#if _KLIBC_ARM_USE_BX
# define BX(x) bx x
#else