This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[patch] tree-vectorizr.h: Remove VECT_SMODULO.
- From: Kazu Hirata <kazu at codesourcery dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Sat, 23 Dec 2006 06:13:51 -0800
- Subject: [patch] tree-vectorizr.h: Remove VECT_SMODULO.
Hi,
Attached is a patch to remove VECT_SMODULO as it is unused.
Bootstrapped on i686-pc-linux-gnu. OK to apply?
Kazu Hirata
2006-12-23 Kazu Hirata <kazu@codesourcery.com>
* tree-vectorizer.h (VECT_SMODULO): Remove.
Index: tree-vectorizer.h
===================================================================
--- tree-vectorizer.h (revision 120165)
+++ tree-vectorizer.h (working copy)
@@ -320,9 +320,6 @@ known_alignment_for_access_p (struct dat
return (DR_MISALIGNMENT (data_ref_info) != -1);
}
-/* Perform signed modulo, always returning a non-negative value. */
-#define VECT_SMODULO(x,y) ((x) % (y) < 0 ? ((x) % (y) + (y)) : (x) % (y))
-
/* vect_dump will be set to stderr or dump_file if exist. */
extern FILE *vect_dump;
extern enum verbosity_levels vect_verbosity_level;