[Bug middle-end/93634] Improving modular calculations (e.g. divisibility tests).

2023-01-06 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93634

Gaius Mulley  changed:

   What|Removed |Added

  Attachment #54207|1   |0
   is patch||
  Attachment #54207|0   |1
is obsolete||

--- Comment #3 from Gaius Mulley  ---
Comment on attachment 54207
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54207
Potential fix for target multilib_dir handling -m and -f (version 2)

apologies - attachment was filed to the wrong PR.

[Bug middle-end/93634] Improving modular calculations (e.g. divisibility tests).

2023-01-06 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93634

Gaius Mulley  changed:

   What|Removed |Added

 CC||gaius at gcc dot gnu.org

--- Comment #2 from Gaius Mulley  ---
Created attachment 54207
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54207=edit
Potential fix for target multilib_dir handling -m and -f (version 2)

[Bug middle-end/93634] Improving modular calculations (e.g. divisibility tests).

2020-02-11 Thread cassio.neri at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93634

--- Comment #1 from Cassio Neri  ---
FYI, this is what clang trunk generates:
  imull $-1431655765, %edi, %eax # imm = 0xAAAB
  addl $1431655764, %eax # imm = 0x5554
  rorl %eax
  cmpl $715827882, %eax # imm = 0x2AAA
  setb %al
  retq

[Bug middle-end/93634] Improving modular calculations (e.g. divisibility tests).

2020-02-08 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93634

Andrew Pinski  changed:

   What|Removed |Added

   Keywords||missed-optimization
   Severity|normal  |enhancement