Re: [PATCH] Start adding support for VIS 3.0 instructions.

2011-10-03 Thread Jakub Jelinek
On Mon, Oct 03, 2011 at 03:19:00PM -0700, Richard Henderson wrote: > On 10/01/2011 11:40 AM, David Miller wrote: > > +;; Conditional moves are possible via fcmpX --> cmaskX -> bshuffle > > Does this comment mean you can fairly efficiently implement the > vcond patterns? vcond is actually vcond

Re: [PATCH] Start adding support for VIS 3.0 instructions.

2011-10-03 Thread Richard Henderson
On 10/03/2011 06:43 PM, David Miller wrote: > What exactly is supposed to happen when, for example, the comparison > is between two v4hi values and the conditional move is done on > v2si values? It seems the only requirement is that modes N and M > be vector modes of the same size. It's supposed

Re: [PATCH] Start adding support for VIS 3.0 instructions.

2011-10-03 Thread David Miller
From: Richard Henderson Date: Mon, 03 Oct 2011 15:19:00 -0700 > On 10/01/2011 11:40 AM, David Miller wrote: >> +;; Conditional moves are possible via fcmpX --> cmaskX -> bshuffle > > Does this comment mean you can fairly efficiently implement the > vcond patterns? That seems to be the case. So

Re: [PATCH] Start adding support for VIS 3.0 instructions.

2011-10-03 Thread Richard Henderson
On 10/01/2011 11:40 AM, David Miller wrote: > +;; Conditional moves are possible via fcmpX --> cmaskX -> bshuffle Does this comment mean you can fairly efficiently implement the vcond patterns? r~

[PATCH] Start adding support for VIS 3.0 instructions.

2011-10-01 Thread David Miller
There are couple more to add, but there are some complications wrt. v8plus for those that I need to sort out first. And also I haven't attempted to add the floating-point-and-halve and related ops yet, see: http://gcc.gnu.org/ml/gcc/2011-09/msg00385.html Committed to trunk. gcc/ * con