This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH i386 2/8] [AVX512] Add mask registers.
- From: Kirill Yukhin <kirill dot yukhin at gmail dot com>
- To: Richard Henderson <rth at redhat dot com>
- Cc: Vladimir Makarov <vmakarov at redhat dot com>, Uros Bizjak <ubizjak at gmail dot com>, Jakub Jelinek <jakub at redhat dot com>, GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Fri, 6 Sep 2013 17:49:08 +0400
- Subject: Re: [PATCH i386 2/8] [AVX512] Add mask registers.
- Authentication-results: sourceware.org; auth=none
- References: <20130826161316 dot GA35178 at msticlxl57 dot ims dot intel dot com> <521B8445 dot 20602 at redhat dot com> <20130827181133 dot GA42618 at msticlxl57 dot ims dot intel dot com> <521D06EC dot 4000709 at redhat dot com> <20130828174536 dot GA47152 at msticlxl57 dot ims dot intel dot com> <521E398B dot 8010103 at redhat dot com> <20130828183805 dot GA14518 at msticlxl57 dot ims dot intel dot com> <521E5AD8 dot 5090604 at redhat dot com> <20130828220508 dot GB14518 at msticlxl57 dot ims dot intel dot com> <20130829115920 dot GC14518 at msticlxl57 dot ims dot intel dot com>
Hello,
On 29 Aug 15:59, Kirill Yukhin wrote:
> /* Define parameter passing and return registers. */
> @@ -4219,8 +4225,13 @@ ix86_conditional_register_usage (void)
>
> /* If AVX512F is disabled, squash the registers. */
> if (! TARGET_AVX512F)
> - for (i = FIRST_EXT_REX_SSE_REG; i < LAST_EXT_REX_SSE_REG; i++)
> - fixed_regs[i] = call_used_regs[i] = 1, reg_names[i] = "";
> + {
> + for (i = FIRST_EXT_REX_SSE_REG; i < LAST_EXT_REX_SSE_REG; i++)
> + fixed_regs[i] = call_used_regs[i] = 1, reg_names[i] = "";
> +
> + for (i = FIRST_MASK_REG; i < LAST_MASK_REG; i++)
> + fixed_regs[i] = call_used_regs[i] = 1, reg_names[i] = "";
> + }
> }
This place should be updated as here: http://gcc.gnu.org/ml/gcc-cvs/2013-09/msg00181.html
I am not reposting as the change is obvious.
--
Thanks, K