Commit 64e9a944 by Kugan Vivekanandarajah Committed by Kugan Vivekanandarajah

iterators.md (vwcore): Add missing cases for V4HF/V8HF modes.

gcc/ChangeLog:

2015-10-07  Kugan Vivekanandarajah  <kuganv@linaro.org>

	* config/aarch64/iterators.md (vwcore): Add missing cases for
	 V4HF/V8HF modes.

gcc/testsuite/ChangeLog:

2015-10-07  Kugan Vivekanandarajah  <kuganv@linaro.org>

	* gcc.target/aarch64/get_lane_f16_1.c: New test.

From-SVN: r228547
parent 09fefdad
2015-10-07 Kugan Vivekanandarajah <kuganv@linaro.org>
* config/aarch64/iterators.md (vwcore): Add missing cases for
V4HF/V8HF modes.
2015-10-06 Aditya Kumar <aditya.k7@samsung.com> 2015-10-06 Aditya Kumar <aditya.k7@samsung.com>
Sebastian Pop <s.pop@samsung.com> Sebastian Pop <s.pop@samsung.com>
...@@ -537,6 +537,7 @@ ...@@ -537,6 +537,7 @@
(V4HI "w") (V8HI "w") (V4HI "w") (V8HI "w")
(V2SI "w") (V4SI "w") (V2SI "w") (V4SI "w")
(DI "x") (V2DI "x") (DI "x") (V2DI "x")
(V4HF "w") (V8HF "w")
(V2SF "w") (V4SF "w") (V2SF "w") (V4SF "w")
(V2DF "x")]) (V2DF "x")])
......
2015-10-07 Kugan Vivekanandarajah <kuganv@linaro.org>
* gcc.target/aarch64/get_lane_f16_1.c: New test.
2015-10-06 Marek Polacek <polacek@redhat.com> 2015-10-06 Marek Polacek <polacek@redhat.com>
PR c++/67863 PR c++/67863
......
/* { dg-do compile } */
/* { dg-options "-O3" } */
void fn2 ();
typedef __Float16x4_t float16x4_t;
__fp16 result_float16x4[1];
float16x4_t exec_vst1_lane_vector_float16x4, exec_vst1_lane___trans_tmp_1;
void fn1 ()
{
exec_vst1_lane_vector_float16x4 = exec_vst1_lane___trans_tmp_1;
__fp16 *__a = result_float16x4;
float16x4_t __b = exec_vst1_lane___trans_tmp_1;
int __lane = 0;
*__a = ({ __b[__lane]; });
union {
short i;
__fp16 f;
} tmp_res;
tmp_res.f = result_float16x4[0];
if (tmp_res.i)
fn2();
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment