public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* Re: [PATCH] Intrinsics for RDSEED
@ 2012-07-30 13:12 Uros Bizjak
  2012-07-30 13:56 ` Kirill Yukhin
  0 siblings, 1 reply; 3+ messages in thread
From: Uros Bizjak @ 2012-07-30 13:12 UTC (permalink / raw)
  To: Kirill Yukhin; +Cc: Jakub Jelinek, gcc-patches, Michael Zolotukhin, H.J. Lu

On Mon, Jul 30, 2012 at 2:05 PM, Kirill Yukhin <kirill.yukhin@gmail.com> wrote:

> ChangeLog entry:
> 2012-07-25  Kirill Yukhin  <kirill.yukhin@intel.com>
>             Michael Zolotukhin  <michael.v.zolotukhin@intel.com>
>
>         * common/config/i386/i386-common.c (OPTION_MASK_ISA_RDSEED_SET): New.
>         (OPTION_MASK_ISA_RDSEED_UNSET): Likewise.
>         (ix86_handle_option): Handle mrdseed option.
>         * config.gcc (i[34567]86-*-*): Add rdseedintrin.h.
>         (x86_64-*-*): Likewise.
>         * config/i386/prfchwintrin.h: New header.
>         * config/i386/cpuid.h (bit_RDSEED): New.
>         * config/i386/driver-i386.c (host_detect_local_cpu): Detect
>         RDSEED support.
>         * config/i386/i386-c.c: Define __RDSEED__ if needed.
>         * config/i386/i386.c (ix86_target_string): Define
>         -mrdseed option.
>         (PTA_RDSEED): New.
>         (ix86_option_override_internal): Handle new option.
>         (ix86_valid_target_attribute_inner_p): Add OPT_mrdseed.
>         (ix86_builtins): Add enum entries for RDSEED* builtins.
>         (ix86_init_mmx_sse_builtins): Define new builtins.
>         (ix86_expand_builtin): Expand RDSEED* builtins.
>         * config/i386/i386.h (TARGET_RDSEED): New.
>         * config/i386/i386.md (rdseed<mode>_1): New.
>         * config/i386/i386.opt (mrdseed): New.
>         * config/i386/x86intrin.h: Include rdseedintrin.h.
>
> testsuite/ChangeLog unchanged.

Please put new insn pattern just after rdrnd<mode>_1 pattern in the
i386.md file.

OK with that change.

Thanks,
Uros.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] Intrinsics for RDSEED
  2012-07-30 13:12 [PATCH] Intrinsics for RDSEED Uros Bizjak
@ 2012-07-30 13:56 ` Kirill Yukhin
  2012-08-26 13:12   ` Gerald Pfeifer
  0 siblings, 1 reply; 3+ messages in thread
From: Kirill Yukhin @ 2012-07-30 13:56 UTC (permalink / raw)
  To: Uros Bizjak; +Cc: Jakub Jelinek, gcc-patches, Michael Zolotukhin, H.J. Lu

>
> OK with that change.

Thanks a lot!
Checked into the trunk: http://gcc.gnu.org/ml/gcc-cvs/2012-07/msg00878.html

Thanks, K

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] Intrinsics for RDSEED
  2012-07-30 13:56 ` Kirill Yukhin
@ 2012-08-26 13:12   ` Gerald Pfeifer
  0 siblings, 0 replies; 3+ messages in thread
From: Gerald Pfeifer @ 2012-08-26 13:12 UTC (permalink / raw)
  To: Kirill Yukhin
  Cc: Uros Bizjak, Jakub Jelinek, gcc-patches, Michael Zolotukhin, H.J. Lu

Hi Kirill,

On Mon, 30 Jul 2012, Kirill Yukhin wrote:
> Checked into the trunk: http://gcc.gnu.org/ml/gcc-cvs/2012-07/msg00878.html

are you going to document this (and others) in the GCC 4.8 release
notes at http://gcc.gnu.org/gcc-4.8/changes.html ?  That will be good.

Gerald

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-08-26 13:12 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-07-30 13:12 [PATCH] Intrinsics for RDSEED Uros Bizjak
2012-07-30 13:56 ` Kirill Yukhin
2012-08-26 13:12   ` Gerald Pfeifer

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).