public inbox for gcc-cvs@sourceware.org help / color / mirror / Atom feed
From: Martin Liska <marxin@gcc.gnu.org> To: gcc-cvs@gcc.gnu.org Subject: [gcc r12-3553] i386: port vxworks to TARGET_CPU_P macro Date: Wed, 15 Sep 2021 15:47:56 +0000 (GMT) [thread overview] Message-ID: <20210915154756.29B3C3858403@sourceware.org> (raw) https://gcc.gnu.org/g:7bdf51557d18aafdb300e1ad2b4f6fb7ef456f2b commit r12-3553-g7bdf51557d18aafdb300e1ad2b4f6fb7ef456f2b Author: Martin Liska <mliska@suse.cz> Date: Wed Sep 15 17:45:21 2021 +0200 i386: port vxworks to TARGET_CPU_P macro PR target/102351 gcc/ChangeLog: * config/i386/vxworks.h: Use new macro TARGET_CPU_P. Diff: --- gcc/config/i386/vxworks.h | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/gcc/config/i386/vxworks.h b/gcc/config/i386/vxworks.h index ebda7d9d26a..0676cb4cead 100644 --- a/gcc/config/i386/vxworks.h +++ b/gcc/config/i386/vxworks.h @@ -73,37 +73,37 @@ along with GCC; see the file COPYING3. If not see VXWORKS_OS_CPP_BUILTINS (); \ if (TARGET_64BIT) \ VX_CPUDEF (X86_64); \ - else if (TARGET_PENTIUM4) \ + else if (TARGET_CPU_P (PENTIUM4)) \ { \ VX_CPUDEF (PENTIUM4); \ VX_CPUVDEF (PENTIUM4); \ } \ - else if (TARGET_CORE2) \ + else if (TARGET_CPU_P (CORE2)) \ VX_CPUDEF (CORE2); \ - else if (TARGET_NEHALEM) \ + else if (TARGET_CPU_P (NEHALEM)) \ VX_CPUDEF (NEHALEM); \ - else if (TARGET_SANDYBRIDGE) \ + else if (TARGET_CPU_P (SANDYBRIDGE)) \ VX_CPUDEF (SANDYBRIDGE); \ - else if (TARGET_HASWELL) \ + else if (TARGET_CPU_P (HASWELL)) \ VX_CPUDEF (HASWELL); \ - else if (TARGET_SILVERMONT) \ + else if (TARGET_CPU_P (SILVERMONT)) \ VX_CPUDEF (SILVERMONT); \ - else if (TARGET_SKYLAKE || TARGET_SKYLAKE_AVX512) \ + else if (TARGET_CPU_P (SKYLAKE) || TARGET_CPU_P (SKYLAKE_AVX512)) \ VX_CPUDEF (SKYLAKE); \ - else if (TARGET_GOLDMONT) \ + else if (TARGET_CPU_P (GOLDMONT)) \ VX_CPUDEF (GOLDMONT); \ else if (TARGET_VXWORKS7) \ VX_CPUDEF (PENTIUM4); \ - else if (TARGET_386) \ + else if (TARGET_CPU_P (I386)) \ VX_CPUDEF (I80386); \ - else if (TARGET_486) \ + else if (TARGET_CPU_P (I486)) \ VX_CPUDEF (I80486); \ - else if (TARGET_PENTIUM) \ + else if (TARGET_CPU_P (PENTIUM)) \ { \ VX_CPUDEF (PENTIUM); \ VX_CPUVDEF (PENTIUM); \ } \ - else if (TARGET_PENTIUMPRO) \ + else if (TARGET_CPU_P (PENTIUMPRO)) \ { \ VX_CPUDEF (PENTIUM2); \ VX_CPUVDEF (PENTIUMPRO); \
reply other threads:[~2021-09-15 15:47 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20210915154756.29B3C3858403@sourceware.org \ --to=marxin@gcc.gnu.org \ --cc=gcc-cvs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).