> +  // Use a fast table for some small values. This also gets rid of  
> some
> +  // rounding errors in libc sqrt for small values.
> +  if (magnitude <= 5) {

Please use a real table, not a switch, for this.  It will be smaller  
(codesize) and faster.

-Chris



_______________________________________________
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

Reply via email to