#!/bin/sh

echo -e "SEL\tXNOR\tORN\tANDN\tCOUNT\tMD5_I"

gcc search3.c -o search3 -s -O2 -fomit-frame-pointer -march=native -Wall # -DDUPES

for sel in yes no; do
	for xnor in yes no; do
		for orn in yes no; do
			for andn in yes no; do
				echo -ne "$sel\t$xnor\t$orn\t$andn\t"
				echo -n `./search3 $sel $xnor $orn $andn 2> search3.out`
				if [ -s search3.out ]; then
					echo -e "\tyes"
				else
					echo -e "\tno"
				fi
			done
		done
	done
done
