2で割るとき,bitshiftよりも単に除算した方が速かった

次のコードで試行した.

tic
for i=1:1000
	x = magic(3);
	x = bitshift(x, -1); % 0.070sec
%	x = floor(x/2); % 0.062sec
end
toc