Since there is no official document regarding the Aarch64 instruction
encoding available (at least I couldn't find any) I'm studying the binutils
code instead.
I don't understand how the following code in aarch64_logical_immediate_p
works:
if (is32)
{
/* Allow all zeros or all ones i
[root@ok6410 linux-3.0.1]#
[root@ok6410 linux-3.0.1]# arm-none-linux-gnueabi-gcc -v
Using built-in specs.
COLLECT_GCC=arm-none-linux-gnueabi-gcc
COLLECT_LTO_WRAPPER=/content/toolchain/rootfs/usr/libexec/gcc/arm-none-linux-gnueabi/4.8.1/lto-wrapper
Target: arm-none-linux-gnueabi
Configured with: .