use __thread for counter.c
use __thread for counter.c

Also add some branch prediction hints

rogerchina/libphenom,guiquanz/libphenom,rogerchina/libphenom,zhenglaizhang/libphenom,dailypips/libphenom,sakishum/libphenom,facebook/libphenom,sakishum/libphenom,facebook/libphenom,yangjin-unique/libphenom,mhaberler/libphenom,sakishum/libphenom,guiquanz/libphenom,zhenglaizhang/libphenom,seem-sky/libphenom,zhakui/libphenom,yangjin-unique/libphenom,seem-sky/libphenom,facebook/libphenom,zhenglaizhang/libphenom,yangjin-unique/libphenom,seem-sky/libphenom,guiquanz/libphenom,guiquanz/libphenom,guiquanz/libphenom,zhenglaizhang/libphenom,ChinaLongGanHu/libphenom,zhakui/libphenom,guiquanz/libphenom,facebook/libphenom,mhaberler/libphenom,rogerchina/libphenom,yangjin-unique/libphenom,mhaberler/libphenom,ChinaLongGanHu/libphenom,sakishum/libphenom,mhaberler/libphenom,ChinaLongGanHu/libphenom,guiquanz/libphenom,yangjin-unique/libphenom,mhaberler/libphenom,seem-sky/libphenom,ChinaLongGanHu/libphenom,seem-sky/libphenom,ChinaLongGanHu/libphenom,zhakui/libphenom,sakishum/libphenom,rogerchina/libphenom,dailypips/libphenom,facebook/libphenom,zhakui/libphenom,zhenglaizhang/libphenom,dailypips/libphenom,dailypips/libphenom,zhakui/libphenom,dailypips/libphenom,rogerchina/libphenom