https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99782

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
           Assignee|unassigned at gcc dot gnu.org      |pinskia at gcc dot 
gnu.org

--- Comment #7 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
So there are 2 different issues here.
One is TImode not being handled for at least
aarch64_gen_ccmp_first/aarch64_gen_ccmp_next .

Once I added TImode EQ/NE support to aarch64_gen_ccmp_first, the testcase in
comment #0 compiles without any issues.

But still fails for:
```
int hb;

void
w4 (__int128 uv, int ng)
{
  int vh;

  for (vh = 0; vh < 14; ++vh)
    {
      ++ng;
      hb = (hb > uv) && ng;
    }
}
```

The second issue is the way ccmp expansion is handled if aarch64_gen_ccmp_first
fails and then aarch64_gen_ccmp_next fails too.

Let me try to figure out a patch for that.

Reply via email to