public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* RE: PING: [PATCH, ARM, iWMMXt][1/5]: ARM code generic change
@ 2011-09-26  4:31 Xinyu Qi
  0 siblings, 0 replies; 5+ messages in thread
From: Xinyu Qi @ 2011-09-26  4:31 UTC (permalink / raw)
  To: Ramana Radhakrishnan; +Cc: gcc-patches

Ping

http://gcc.gnu.org/ml/gcc-patches/2011-07/msg01100.html

	* config/arm/arm.c (arm_option_override): Enable use of iWMMXt with VFP.
	Disable use of iwMMXt and Neon.
	(arm_expand_binop_builtin): Accept VOIDmode op.
	* config/arm/arm.md (*arm_movdi): Remove check for TARGET_IWMMXT.
	(*arm_movsi_insn): Likewise.
	(iwmmxt.md): Include earlier.

At 2011-07-29 10:57:39,"Xinyu Qi" <xyqi@marvell.com> wrote: > 
> Ping.
> 
> http://gcc.gnu.org/ml/gcc-patches/2011-07/msg01100.html
> 

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

* RE: PING: [PATCH, ARM, iWMMXt][1/5]: ARM code generic change
  2011-12-14 17:03 ` Richard Earnshaw
@ 2012-03-13  8:54   ` Xinyu Qi
  0 siblings, 0 replies; 5+ messages in thread
From: Xinyu Qi @ 2012-03-13  8:54 UTC (permalink / raw)
  To: Richard Earnshaw; +Cc: Ramana Radhakrishnan, gcc-patches

PING

At 2012-02-03 10:02:28,"Xinyu Qi" <xyqi@marvell.com> wrote:
> PING
> 
> http://gcc.gnu.org/ml/gcc-patches/2011-12/msg01787.html
> 
> At 2011-12-29 14:20:20,"Xinyu Qi" <xyqi@marvell.com> wrote:
> > > At 2011-12-15 00:47:48,"Richard Earnshaw" <rearnsha@arm.com> wrote:
> > > > On 14/07/11 08:35, Xinyu Qi wrote:
> > > > >>> Hi,
> > > > >>>
> > > > >>> It is the first part of iWMMXt maintenance.
> > > > >>>
> > > > >>> *config/arm/arm.c (arm_option_override):
> > > > >>>   Enable iWMMXt with VFP. iWMMXt and NEON are incompatible.
> > > > >> iWMMXt unsupported under Thumb-2 mode.
> > > > >>>   (arm_expand_binop_builtin): Accept immediate op (with mode
> > > > >>> VOID)
> > > > >>> *config/arm/arm.md:
> > > > >>>   Resettle include location of iwmmxt.md so that *arm_movdi
> > > > >> and *arm_movsi_insn could be used when iWMMXt is enabled.
> > > > >>
> > > > >> With the current work in trunk to handle enabled attributes and
> > > > >> per-alternative predicable attributes (Thanks Bernd) we should be
> > > > >> able to get rid of *cond_iwmmxt_movsi_insn"  in iwmmxt.md file.
> > > > >> It's not a matter for this patch but for a follow-up patch.
> > > > >>
> > > > >> Actually we should probably do the same for the various insns
> > > > >> that are dotted around all over the place with final conditions
> > > > >> that prevent matching - atleast makes the backend description
> > > > >> slightly smaller :).
> > > > >>
> > > > >>>   Add pipeline description file include.
> > > > >>
> > > > >> It is enough to say
> > > > >>
> > > > >>  (<filename>): Include.
> > > > >>
> > > > >> in the changelog entry.
> > > > >>
> > > > >> The include for the pipeline description file should be with the
> > > > >> patch that you add this in i.e. patch #5. Please add this to
> > > > >> MD_INCLUDES in t-arm as well.
> > > > >>
> > > > >> Also as a general note, please provide a correct Changelog entry.
> > > > >>
> > > > >> This is not the format that we expect Changelog entries to be in.
> > > > >> Please look at the coding standards on the website for this or at
> > > > >> other patches submitted with respect to Changelog entries. Please
> > > > >> fix this for each patch in the patch stack.
> > > > >>
> > > > >>
> > > > >> cheers
> > > > >> Ramana
> > > > >
> > > > > Thanks for reviewing. I have updated the patches and the Changelog.
> > > > >
> > > > > *config/arm/arm.c (arm_option_override): Enable iWMMXt with VFP.
> > > > >  (arm_expand_binop_builtin): Accept VOIDmode op.
> > > > > *config/arm/arm.md (*arm_movdi, *arm_movsi_insn): Remove
> > > > condition !TARGET_IWMMXT.
> > > > >  (iwmmxt.md): Include location.
> > > > >
> > > > > Thanks,
> > > > > Xinyu=
> > > > >
> > > >
> > > > +     VFP and iWMMXt however can coexist.  */  if
> (TARGET_IWMMXT
> > > &&
> > > > + TARGET_HARD_FLOAT && !TARGET_VFP)
> > > > +    sorry ("iWMMXt and non-VFP floating point unit");
> > > > +
> > > > +  /* iWMMXt and NEON are incompatible.  */  if (TARGET_IWMMXT
> > &&
> > > > + TARGET_NEON)
> > > > +    sorry ("iWMMXt and NEON");
> > > >
> > > > -  /* ??? iWMMXt insn patterns need auditing for Thumb-2.  */
> > > > +  /* iWMMXt unsupported under Thumb-2 mode.  */
> > > >    if (TARGET_THUMB2 && TARGET_IWMMXT)
> > > >      sorry ("Thumb-2 iWMMXt");
> > > >
> > > > Don't use sorry() when a feature is not supported by the hardware;
> > > > sorry() is used when GCC is currently unable to support something
> > > > that it should.  Use error() in these cases.
> > > >
> > > > Secondly, iWMMXt is incompatible with the entire Thumb ISA, not just
> > > > the
> > > > Thumb-2 extensions to the Thumb ISA.
> > >
> > > Done.
> > >
> > > >
> > > >
> > > > +;; Load the Intel Wireless Multimedia Extension patterns (include
> > > > +"iwmmxt.md")
> > > > +
> > > >
> > > >
> > > > No, the extension patterns need to come at the end of the main
> > > > machine description.  The list at the top of the MD file is purely
> > > > for pipeline descriptions.  Why do you think this is needed?
> > >
> > > This modification is needless right now since *iwmmxt_movsi_insn and
> > > *iwmmxt_arm_movdi have been corrected in the fourth part of the patch.
> > > Revert it.
> > > The new modified patch is attached.
> > >
> > > 	* config/arm/arm.c (arm_option_override): Enable use of iWMMXt with
> > > VFP.
> > > 	Disable use of iWMMXt with NEON. Disable use of iWMMXt under Thumb
> > > mode.
> > > 	(arm_expand_binop_builtin): Accept VOIDmode op.
> > >
> > > Thanks,
> > > Xinyu
> > >
> > > >
> > > > Other bits are ok.
> > > >
> > > > R.
> >
> > New changlog
> >
> > 	* config/arm/arm.c (FL_IWMMXT2): New define.
> > 	(arm_arch_iwmmxt2): New variable.
> > 	(arm_option_override): Enable use of iWMMXt with VFP.
> > 	Disable use of iWMMXt with NEON. Disable use of iWMMXt under Thumb
> > mode.
> > 	Set arm_arch_iwmmxt2.
> > 	(arm_expand_binop_builtin): Accept VOIDmode op.
> > 	* config/arm/arm.h (TARGET_CPU_CPP_BUILTINS): Define
> > __IWMMXT2__.
> > 	(TARGET_IWMMXT2): New define.
> > 	(TARGET_REALLY_IWMMXT2): Likewise.
> > 	(arm_arch_iwmmxt2): Declare.
> > 	* config/arm/arm-cores.def (iwmmxt2): Add FL_IWMMXT2.
> > 	* config/arm/arm-arches.def (iwmmxt2): Likewise.
> > 	* config/arm/arm.md (arch): Add "iwmmxt2".
> > 	(arch_enabled): Handle "iwmmxt2".
> >
> > Thanks,
> > Xinyu

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

* Re: PING: [PATCH, ARM, iWMMXt][1/5]: ARM code generic change
  2011-10-20  7:53 Xinyu Qi
@ 2011-10-20 13:57 ` Ramana Radhakrishnan
  0 siblings, 0 replies; 5+ messages in thread
From: Ramana Radhakrishnan @ 2011-10-20 13:57 UTC (permalink / raw)
  To: Xinyu Qi; +Cc: gcc-patches

On 20 October 2011 08:35, Xinyu Qi <xyqi@marvell.com> wrote:
> Ping
>
> http://gcc.gnu.org/ml/gcc-patches/2011-07/msg01100.html
>
>        * config/arm/arm.c (arm_option_override): Enable use of iWMMXt with VFP.
>        Disable use of iwMMXt and Neon.
>        (arm_expand_binop_builtin): Accept VOIDmode op.
>        * config/arm/arm.md (*arm_movdi): Remove check for TARGET_IWMMXT.
>        (*arm_movsi_insn): Likewise.
>        (iwmmxt.md): Include earlier.
>

OK.


cheers
Ramana

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

* RE: PING: [PATCH, ARM, iWMMXt][1/5]: ARM code generic change
@ 2011-10-20  7:53 Xinyu Qi
  2011-10-20 13:57 ` Ramana Radhakrishnan
  0 siblings, 1 reply; 5+ messages in thread
From: Xinyu Qi @ 2011-10-20  7:53 UTC (permalink / raw)
  To: Ramana Radhakrishnan, gcc-patches

Ping

http://gcc.gnu.org/ml/gcc-patches/2011-07/msg01100.html

	* config/arm/arm.c (arm_option_override): Enable use of iWMMXt with VFP.
	Disable use of iwMMXt and Neon.
	(arm_expand_binop_builtin): Accept VOIDmode op.
	* config/arm/arm.md (*arm_movdi): Remove check for TARGET_IWMMXT.
	(*arm_movsi_insn): Likewise.
	(iwmmxt.md): Include earlier.

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

* RE: PING: [PATCH, ARM, iWMMXt][1/5]: ARM code generic change
@ 2011-07-29  3:43 Xinyu Qi
  0 siblings, 0 replies; 5+ messages in thread
From: Xinyu Qi @ 2011-07-29  3:43 UTC (permalink / raw)
  To: Ramana Radhakrishnan, gcc-patches

Ping.

http://gcc.gnu.org/ml/gcc-patches/2011-07/msg01100.html

At 2011-07-14 15:35:52,"Xinyu Qi" <xyqi@marvell.com> wrote:
> > > Hi,
> > >
> > > It is the first part of iWMMXt maintenance.
> > >
> > > *config/arm/arm.c (arm_option_override):
> > >   Enable iWMMXt with VFP. iWMMXt and NEON are incompatible.
> > iWMMXt unsupported under Thumb-2 mode.
> > >   (arm_expand_binop_builtin): Accept immediate op (with mode VOID)
> > > *config/arm/arm.md:
> > >   Resettle include location of iwmmxt.md so that *arm_movdi
> > and *arm_movsi_insn could be used when iWMMXt is enabled.
> >
> > With the current work in trunk to handle enabled attributes
> > and per-alternative predicable attributes (Thanks Bernd) we
> > should be able to get rid of *cond_iwmmxt_movsi_insn"  in
> > iwmmxt.md file. It's not a matter for this patch but for a
> > follow-up patch.
> >
> > Actually we should probably do the same for the various insns
> > that are dotted around all over the place with final
> > conditions that prevent matching - atleast makes the backend
> > description slightly smaller :).
> >
> > >   Add pipeline description file include.
> >
> > It is enough to say
> >
> >  (<filename>): Include.
> >
> > in the changelog entry.
> >
> > The include for the pipeline description file should be with
> > the patch that you add this in i.e. patch #5. Please add this
> > to MD_INCLUDES in t-arm as well.
> >
> > Also as a general note, please provide a correct Changelog entry.
> >
> > This is not the format that we expect Changelog entries to be in.
> > Please look at the coding standards on the website for this
> > or at other patches submitted with respect to Changelog
> > entries. Please fix this for each patch in the patch stack.
> >
> >
> > cheers
> > Ramana
> 
> Thanks for reviewing. I have updated the patches and the Changelog.
> 
> *config/arm/arm.c (arm_option_override): Enable iWMMXt with VFP.
>  (arm_expand_binop_builtin): Accept VOIDmode op.
> *config/arm/arm.md (*arm_movdi, *arm_movsi_insn): Remove
> condition !TARGET_IWMMXT.
>  (iwmmxt.md): Include location.
> 
> Thanks,
> Xinyu

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

end of thread, other threads:[~2012-03-13  8:54 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-09-26  4:31 PING: [PATCH, ARM, iWMMXt][1/5]: ARM code generic change Xinyu Qi
  -- strict thread matches above, loose matches on Subject: below --
2011-10-20  7:53 Xinyu Qi
2011-10-20 13:57 ` Ramana Radhakrishnan
2011-07-29  3:43 Xinyu Qi
2011-07-14  7:38 Xinyu Qi
2011-12-14 17:03 ` Richard Earnshaw
2012-03-13  8:54   ` PING: " Xinyu Qi

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