Re: [RFC, ARM] later split of symbol_refs

2012-07-13 Thread Dmitry Plotnikov
2012/6/30 Georg-Johann Lay g...@gcc.gnu.org: Is there a special reason to restrict it to SYMBOL_REF? Doesn't the same issue occur with, e.g. (const (plus (symbol_ref const_int))) or label_ref? Hi! We have added splits for symbol_ref plus const and label_ref. With this patch, assembly code and

Re: [PATCH][PING] Vectorize conversions directly

2011-12-22 Thread Dmitry Plotnikov
Here is the patch with iterators for instructions and neon_type attributes. Also fast-math-pr35982.c is changed according to Ira's comment. I will look at integration with patterns for neon intrinsics later. 2011-12-22 Dmitry Plotnikov dplotni...@ispras.ru gcc/ * tree-cfg.c

Re: [PATCH][PING^3] Vectorize conversions directly

2011-11-22 Thread Dmitry Plotnikov
Ping. The ARM portion of this patch is still awaiting approval. On 11/08/2011 12:35 PM, Dmitry Plotnikov wrote: Ping. On 10/28/2011 12:22 PM, Dmitry Plotnikov wrote: Here is the patch updated according to recent comments. 2011-10-28 Dmitry Plotnikov dplotni...@ispras.ru gcc/ * tree-cfg.c

Re: [PATCH][PING^2] Vectorize conversions directly

2011-11-08 Thread Dmitry Plotnikov
Ping. On 10/28/2011 12:22 PM, Dmitry Plotnikov wrote: Here is the patch updated according to recent comments. 2011-10-28 Dmitry Plotnikov dplotni...@ispras.ru gcc/ * tree-cfg.c (verify_gimple_assign_unary): Allow vector conversions. * optabs.c (supportable_convert_operation): New function

Re: [PATCH][PING] Vectorize conversions directly

2011-10-28 Thread Dmitry Plotnikov
Here is the patch updated according to recent comments. 2011-10-28 Dmitry Plotnikov dplotni...@ispras.ru gcc/ * tree-cfg.c (verify_gimple_assign_unary): Allow vector conversions. * optabs.c (supportable_convert_operation): New function. * optabs.h (supportable_convert_operation

[PATCH][PING] Vectorize conversions directly

2011-10-24 Thread Dmitry Plotnikov
vectorizable conversions and even/odd extractions are now supported for NEON. Ok for trunk? 2011-10-20 Dmitry Plotnikov dplotni...@ispras.ru gcc/ * tree-cfg.c (verify_gimple_assign_unary): Allow vector conversions. * tree-vect-stmts.c (supportable_convert_operation): New function

Re: [PATCH][ARM] Add support for ADDW and SUBW instructions

2011-06-06 Thread Dmitry Plotnikov
This is follow-up patch that fixes rtx costs for CONST_INT in PLUS pattern. Original discussion is here: http://gcc.gnu.org/ml/gcc-patches/2011-05/msg01427.html 2011-06-06 Dmitry PLotnikov dplotni...@ispras.ru gcc/ * config/arm/arm.c (arm_rtx_costs_1): Fixed costs for CONST_INT in PLUS

Re: [PATCH][ARM] Add support for ADDW and SUBW instructions

2011-06-06 Thread Dmitry Plotnikov
On 06/06/2011 04:41 PM, Andrew Stubbs wrote: On 06/06/11 13:15, Dmitry Plotnikov wrote: + (const_ok_for_op (INTVAL (x), outer) + || const_ok_for_op (~INTVAL (x), outer The second call is redundant. const_ok_for_op should already do that. Fixed patch is attached. Ok? 2011

Re: [PATCH][ARM] Add support for ADDW and SUBW instructions

2011-06-06 Thread Dmitry Plotnikov
On 06/06/2011 05:33 PM, Andrew Stubbs wrote: On 06/06/11 14:26, Dmitry Plotnikov wrote: if (const_ok_for_arm (INTVAL (x)) - || const_ok_for_arm (~INTVAL (x))) + || const_ok_for_arm (~INTVAL (x)) + || (TARGET_THUMB2 outer == PLUS + (const_ok_for_op (INTVAL (x), outer

Re: [PATCH, ARM] Thumb-2 12-bit immediates in ADD and SUB instructions

2011-05-31 Thread Dmitry Plotnikov
On 05/20/2011 02:37 PM, Andrew Stubbs wrote: On 20/05/11 10:45, Dmitry Plotnikov wrote: This patch adds support for 12-bit immediate values for Thumb-2 in ADD and SUB instructions. We added two new alternatives for *arm_addsi3 which make use of two new constraints for 12-bit values. Also we

[PATCH, ARM] Thumb-2 12-bit immediates in ADD and SUB instructions

2011-05-20 Thread Dmitry Plotnikov
(from 464916 to 463128), and sqlite by 54 bytes (from 266156 to 266052). Regtested with Cortex-A8 QEMU. Ok for trunk? gcc/config/arm/ 2011-05-19 Dmitry Plotnikov dplotni...@ispras.ru * arm-protos.h (const_ok_for_thumb2_12bit): New prototype. * arm.c (const_ok_for_thumb2_12bit): New function