public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc(refs/users/marxin/heads/i386-option-cleanup)] Remove DEF_ENUM from stringop.def.
@ 2021-03-09 8:30 Martin Liska
0 siblings, 0 replies; 3+ messages in thread
From: Martin Liska @ 2021-03-09 8:30 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:92058a1833fd59315d29bde7ffb376407bffe4e0
commit 92058a1833fd59315d29bde7ffb376407bffe4e0
Author: Martin Liska <mliska@suse.cz>
Date: Mon Mar 8 13:01:37 2021 +0100
Remove DEF_ENUM from stringop.def.
Diff:
---
gcc/config/i386/i386-options.c | 2 --
gcc/config/i386/i386-opts.h | 4 ----
gcc/config/i386/stringop.def | 9 ---------
3 files changed, 15 deletions(-)
diff --git a/gcc/config/i386/i386-options.c b/gcc/config/i386/i386-options.c
index e93935f6f2c..0142618fa08 100644
--- a/gcc/config/i386/i386-options.c
+++ b/gcc/config/i386/i386-options.c
@@ -1452,10 +1452,8 @@ ix86_valid_target_attribute_p (tree fndecl,
}
const char *stringop_alg_names[] = {
-#define DEF_ENUM
#define DEF_ALG(alg, name) #name,
#include "stringop.def"
-#undef DEF_ENUM
#undef DEF_ALG
};
diff --git a/gcc/config/i386/i386-opts.h b/gcc/config/i386/i386-opts.h
index de6e7e01661..04e4ad608fb 100644
--- a/gcc/config/i386/i386-opts.h
+++ b/gcc/config/i386/i386-opts.h
@@ -28,16 +28,12 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
/* Algorithm to expand string function with. */
enum stringop_alg
{
-#undef DEF_ENUM
-#define DEF_ENUM
-
#undef DEF_ALG
#define DEF_ALG(alg, name) alg,
#include "stringop.def"
last_alg
-#undef DEF_ENUM
#undef DEF_ALG
};
diff --git a/gcc/config/i386/stringop.def b/gcc/config/i386/stringop.def
index 76898d26435..cd34b7e6b7d 100644
--- a/gcc/config/i386/stringop.def
+++ b/gcc/config/i386/stringop.def
@@ -17,21 +17,12 @@ You should have received a copy of the GNU General Public License
along with GCC; see the files COPYING3. If not,
see <http://www.gnu.org/licenses/>. */
-DEF_ENUM
DEF_ALG (no_stringop, no_stringop)
-DEF_ENUM
DEF_ALG (libcall, libcall)
-DEF_ENUM
DEF_ALG (rep_prefix_1_byte, rep_byte)
-DEF_ENUM
DEF_ALG (rep_prefix_4_byte, rep_4byte)
-DEF_ENUM
DEF_ALG (rep_prefix_8_byte, rep_8byte)
-DEF_ENUM
DEF_ALG (loop_1_byte, byte_loop)
-DEF_ENUM
DEF_ALG (loop, loop)
-DEF_ENUM
DEF_ALG (unrolled_loop, unrolled_loop)
-DEF_ENUM
DEF_ALG (vector_loop, vector_loop)
^ permalink raw reply [flat|nested] 3+ messages in thread
* [gcc(refs/users/marxin/heads/i386-option-cleanup)] Remove DEF_ENUM from stringop.def.
@ 2021-03-18 16:17 Martin Liska
0 siblings, 0 replies; 3+ messages in thread
From: Martin Liska @ 2021-03-18 16:17 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:03c0e31abc0c082e2412a9982ac475399b02b3b9
commit 03c0e31abc0c082e2412a9982ac475399b02b3b9
Author: Martin Liska <mliska@suse.cz>
Date: Mon Mar 8 13:01:37 2021 +0100
Remove DEF_ENUM from stringop.def.
gcc/ChangeLog:
* config/i386/i386-options.c (DEF_ENUM): Remove it.
* config/i386/i386-opts.h (DEF_ENUM): Likewise.
* config/i386/stringop.def (DEF_ENUM): Likewise.
Diff:
---
gcc/config/i386/i386-options.c | 2 --
gcc/config/i386/i386-opts.h | 4 ----
gcc/config/i386/stringop.def | 9 ---------
3 files changed, 15 deletions(-)
diff --git a/gcc/config/i386/i386-options.c b/gcc/config/i386/i386-options.c
index 7865bc110a3..0d0b26a189f 100644
--- a/gcc/config/i386/i386-options.c
+++ b/gcc/config/i386/i386-options.c
@@ -1452,10 +1452,8 @@ ix86_valid_target_attribute_p (tree fndecl,
}
const char *stringop_alg_names[] = {
-#define DEF_ENUM
#define DEF_ALG(alg, name) #name,
#include "stringop.def"
-#undef DEF_ENUM
#undef DEF_ALG
};
diff --git a/gcc/config/i386/i386-opts.h b/gcc/config/i386/i386-opts.h
index de6e7e01661..04e4ad608fb 100644
--- a/gcc/config/i386/i386-opts.h
+++ b/gcc/config/i386/i386-opts.h
@@ -28,16 +28,12 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
/* Algorithm to expand string function with. */
enum stringop_alg
{
-#undef DEF_ENUM
-#define DEF_ENUM
-
#undef DEF_ALG
#define DEF_ALG(alg, name) alg,
#include "stringop.def"
last_alg
-#undef DEF_ENUM
#undef DEF_ALG
};
diff --git a/gcc/config/i386/stringop.def b/gcc/config/i386/stringop.def
index 76898d26435..cd34b7e6b7d 100644
--- a/gcc/config/i386/stringop.def
+++ b/gcc/config/i386/stringop.def
@@ -17,21 +17,12 @@ You should have received a copy of the GNU General Public License
along with GCC; see the files COPYING3. If not,
see <http://www.gnu.org/licenses/>. */
-DEF_ENUM
DEF_ALG (no_stringop, no_stringop)
-DEF_ENUM
DEF_ALG (libcall, libcall)
-DEF_ENUM
DEF_ALG (rep_prefix_1_byte, rep_byte)
-DEF_ENUM
DEF_ALG (rep_prefix_4_byte, rep_4byte)
-DEF_ENUM
DEF_ALG (rep_prefix_8_byte, rep_8byte)
-DEF_ENUM
DEF_ALG (loop_1_byte, byte_loop)
-DEF_ENUM
DEF_ALG (loop, loop)
-DEF_ENUM
DEF_ALG (unrolled_loop, unrolled_loop)
-DEF_ENUM
DEF_ALG (vector_loop, vector_loop)
^ permalink raw reply [flat|nested] 3+ messages in thread
* [gcc(refs/users/marxin/heads/i386-option-cleanup)] Remove DEF_ENUM from stringop.def.
@ 2021-03-08 14:09 Martin Liska
0 siblings, 0 replies; 3+ messages in thread
From: Martin Liska @ 2021-03-08 14:09 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:286fe1289a3431460c317db53b8f30593e976ad3
commit 286fe1289a3431460c317db53b8f30593e976ad3
Author: Martin Liska <mliska@suse.cz>
Date: Mon Mar 8 13:01:37 2021 +0100
Remove DEF_ENUM from stringop.def.
Diff:
---
gcc/config/i386/i386-options.c | 2 --
gcc/config/i386/i386-opts.h | 4 ----
gcc/config/i386/stringop.def | 9 ---------
3 files changed, 15 deletions(-)
diff --git a/gcc/config/i386/i386-options.c b/gcc/config/i386/i386-options.c
index e93935f6f2c..0142618fa08 100644
--- a/gcc/config/i386/i386-options.c
+++ b/gcc/config/i386/i386-options.c
@@ -1452,10 +1452,8 @@ ix86_valid_target_attribute_p (tree fndecl,
}
const char *stringop_alg_names[] = {
-#define DEF_ENUM
#define DEF_ALG(alg, name) #name,
#include "stringop.def"
-#undef DEF_ENUM
#undef DEF_ALG
};
diff --git a/gcc/config/i386/i386-opts.h b/gcc/config/i386/i386-opts.h
index de6e7e01661..04e4ad608fb 100644
--- a/gcc/config/i386/i386-opts.h
+++ b/gcc/config/i386/i386-opts.h
@@ -28,16 +28,12 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
/* Algorithm to expand string function with. */
enum stringop_alg
{
-#undef DEF_ENUM
-#define DEF_ENUM
-
#undef DEF_ALG
#define DEF_ALG(alg, name) alg,
#include "stringop.def"
last_alg
-#undef DEF_ENUM
#undef DEF_ALG
};
diff --git a/gcc/config/i386/stringop.def b/gcc/config/i386/stringop.def
index 76898d26435..cd34b7e6b7d 100644
--- a/gcc/config/i386/stringop.def
+++ b/gcc/config/i386/stringop.def
@@ -17,21 +17,12 @@ You should have received a copy of the GNU General Public License
along with GCC; see the files COPYING3. If not,
see <http://www.gnu.org/licenses/>. */
-DEF_ENUM
DEF_ALG (no_stringop, no_stringop)
-DEF_ENUM
DEF_ALG (libcall, libcall)
-DEF_ENUM
DEF_ALG (rep_prefix_1_byte, rep_byte)
-DEF_ENUM
DEF_ALG (rep_prefix_4_byte, rep_4byte)
-DEF_ENUM
DEF_ALG (rep_prefix_8_byte, rep_8byte)
-DEF_ENUM
DEF_ALG (loop_1_byte, byte_loop)
-DEF_ENUM
DEF_ALG (loop, loop)
-DEF_ENUM
DEF_ALG (unrolled_loop, unrolled_loop)
-DEF_ENUM
DEF_ALG (vector_loop, vector_loop)
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-03-18 16:17 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-09 8:30 [gcc(refs/users/marxin/heads/i386-option-cleanup)] Remove DEF_ENUM from stringop.def Martin Liska
-- strict thread matches above, loose matches on Subject: below --
2021-03-18 16:17 Martin Liska
2021-03-08 14:09 Martin Liska
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).