target/arm: Convert Neon narrowing shifts with op==8 to decodetree
[qemu/ar7.git] / scripts / hxtool
blob7b1452f3cf1588cc8fd4053f53dc733adb99b52b
1 #!/bin/sh
3 hxtoh()
5 flag=1
6 while read -r str; do
7 case $str in
8 HXCOMM*)
9 ;;
10 SRST*|ERST*) flag=$(($flag^1))
13 test $flag -eq 1 && printf "%s\n" "$str"
15 esac
16 done
19 case "$1" in
20 "-h") hxtoh ;;
21 *) exit 1 ;;
22 esac
24 exit 0