https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116398
Bug ID: 116398
Summary: [15 Regression] gcc.target/aarch64/ashltidisi.c fails
Product: gcc
Version: 15.0
Status: UNCONFIRMED
Keywords: missed-optimization
Severity: normal
Priority: P3
Component: rtl-optimization
Assignee: unassigned at gcc dot gnu.org
Reporter: pinskia at gcc dot gnu.org
Target Milestone: ---
FAIL: gcc.target/aarch64/ashltidisi.c scan-assembler-times asr 3
Extracted testcase:
```
__int128_t __attribute__((noinline)) shift_53_i(int data) {
return (__int128_t)data << 53;
}
```
14 produced:
```
mov w1, w0
lsl x0, x1, 53
sbfx x1, x1, 11, 21
ret
```
While 15 produces:
```
sxtw x1, w0
lsl x0, x1, 53
asr x1, x1, 11
ret
```