1 /* Ensure split constants can use replicated patterns. */
2 /* { dg-options "-mthumb -O2" } */
3 /* { dg-require-effective-target arm_thumb2_ok } */
11 /* { dg-final { scan-assembler "add.*#-33489408" } } */
12 /* { dg-final { scan-assembler "add.*#1" } } */
17 return a
+ 0xdd01dd00;
20 /* { dg-final { scan-assembler "add.*#-587145984" } } */
21 /* { dg-final { scan-assembler "add.*#65536" } } */
26 return a
+ 0x00443344;
29 /* { dg-final { scan-assembler "add.*#4456516" } } */
30 /* { dg-final { scan-assembler "add.*#13056" } } */
35 return a
+ 0x77330033;
38 /* { dg-final { scan-assembler "add.*#1996488704" } } */
39 /* { dg-final { scan-assembler "add.*#3342387" } } */
44 return a
+ 0x11221122;
47 /* { dg-final { scan-assembler "add.*#285217024" } } */
48 /* { dg-final { scan-assembler "add.*#2228258" } } */
53 return a
+ 0x66666677;
56 /* { dg-final { scan-assembler "add.*#1717986918" } } */
57 /* { dg-final { scan-assembler "add.*#17" } } */
62 return a
+ 0x99888888;
65 /* { dg-final { scan-assembler "add.*#-2004318072" } } */
66 /* { dg-final { scan-assembler "add.*#285212672" } } */
71 return a
+ 0xdddddfff;
74 /* { dg-final { scan-assembler "add.*#-572662307" } } */
75 /* { dg-final { scan-assembler "addw.*#546" } } */