comparison gcc/testsuite/brig.dg/test/gimple/vector.hsail @ 131:84e7813d76e9

gcc-8.2
author mir3636
date Thu, 25 Oct 2018 07:37:49 +0900
parents 04ced10e8804
children
comparison
equal deleted inserted replaced
111:04ced10e8804 131:84e7813d76e9
30 30
31 /* The v2 load is done via casting to a vector datatype ptr. */ 31 /* The v2 load is done via casting to a vector datatype ptr. */
32 /* { dg-final { scan-tree-dump " = MEM\\\[\\\(vector\\\(2\\\) <float:32> \\\*\\\)" "original"} } */ 32 /* { dg-final { scan-tree-dump " = MEM\\\[\\\(vector\\\(2\\\) <float:32> \\\*\\\)" "original"} } */
33 33
34 /* The v3 load is scalarized (at the moment) due to gcc requiring 2's exponent wide vectors. */ 34 /* The v3 load is scalarized (at the moment) due to gcc requiring 2's exponent wide vectors. */
35 /* { dg-final { scan-tree-dump "s0 = VIEW_CONVERT_EXPR<unsigned int>\\\(BIT_FIELD_REF <mem_read.\[0-9\]+, 32, 0>\\\);\[\n ]+s1 = VIEW_CONVERT_EXPR<unsigned int>\\\(BIT_FIELD_REF <mem_read.\[0-9\]+, 32, 32>\\\);" "original"} } */ 35 /* { dg-final { scan-tree-dump "s0 = .*BIT_FIELD_REF <mem_read.\[0-9\]+, 32, 0>\\\)?;\[\n ]+s1 = .*BIT_FIELD_REF <mem_read.\[0-9\]+, 32, 32>\\\)?;" "original"} } */
36 36
37 /* The v4 load is done via casting to a vector datatype ptr. */ 37 /* The v4 load is done via casting to a vector datatype ptr. */
38 /* { dg-final { scan-tree-dump " = MEM\\\[\\\(vector\\\(4\\\) <float:32> \\\*\\\)" "original"} } */ 38 /* { dg-final { scan-tree-dump " = MEM\\\[\\\(vector\\\(4\\\) <float:32> \\\*\\\)" "original"} } */
39 39
40 /* The combines are generated to vector constructors. */ 40 /* The combines are generated to vector constructors. */
41 /* { dg-final { scan-tree-dump "{s1, s0}" "original"} } */ 41 /* { dg-final { scan-tree-dump "{.*s1\\\)?, .*s0\\\)?}" "original"} } */
42 /* { dg-final { scan-tree-dump "{s2, s3}" "original"} } */ 42 /* { dg-final { scan-tree-dump "{.*s2\\\)?, .*s3\\\)?}" "original"} } */
43 43
44 /* Expands to BIT_FIELD_REFs. */ 44 /* Expands to BIT_FIELD_REFs. */
45 /* { dg-final { scan-tree-dump "s0 = BIT_FIELD_REF <d4, 32, 0>;" "original"} } */ 45 /* { dg-final { scan-tree-dump "s0 = \(VIEW_CONVERT_EXPR.*\\\(\)?BIT_FIELD_REF <d4, 32, 0>\\\)?;" "original"} } */
46 /* { dg-final { scan-tree-dump "s3 = BIT_FIELD_REF <d4, 32, 32>;" "original"} } */ 46 /* { dg-final { scan-tree-dump "s3 = \(VIEW_CONVERT_EXPR.*\\\(\)?BIT_FIELD_REF <d4, 32, 32>\\\)?;" "original"} } */
47 47
48 /* The v1 store is done via casting to a vector datatype ptr and constructing a vector from the inputs. */ 48 /* The v1 store is done via casting to a vector datatype ptr and constructing a vector from the inputs. */
49 /* { dg-final { scan-tree-dump "MEM\\\[\\\(vector\\\(2\\\) <float:32> \\\*\\\)\\\(<float:32> \\\*\\\) d1\\\] = " "original"} } */ 49 /* { dg-final { scan-tree-dump "MEM\\\[\\\(vector\\\(2\\\) <float:32> \\\*\\\)\\\(<float:32> \\\*\\\) d1\\\] = " "original"} } */
50 50
51 /* The v3 store is scalarized (at the moment) due to gcc requiring 2's exponent wide vectors. */ 51 /* The v3 store is scalarized (at the moment) due to gcc requiring 2's exponent wide vectors. */