public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH][PR target/97540] Don't extract memory from operand for normal memory constraint.
@ 2020-10-27  6:53 Hongtao Liu
  2020-10-27 11:13 ` Richard Sandiford
  2020-11-02 19:40 ` Vladimir Makarov
  0 siblings, 2 replies; 17+ messages in thread
From: Hongtao Liu @ 2020-10-27  6:53 UTC (permalink / raw)
  To: GCC Patches, Vladimir Makarov; +Cc: H. J. Lu, dcb314, Jeff Law

[-- Attachment #1: Type: text/plain, Size: 607 bytes --]

Hi:
  For inline asm, there could be an operand like (not (mem:)), it's
not a valid operand for normal memory constraint.
  Bootstrap is ok, regression test is ok for make check
RUNTESTFLAGS="--target_board='unix{-m32,}'"

gcc/ChangeLog
        PR target/97540
        * ira.c: (ira_setup_alts): Extract memory from operand only
        for special memory constraint.
        * recog.c (asm_operand_ok): Ditto.
        * lra-constraints.c (process_alt_operands): MEM_P is
        required for normal memory constraint.

gcc/testsuite/ChangeLog
        * gcc.target/i386/pr97540.c: New test.

--
BR,
Hongtao

[-- Attachment #2: 0002-Don-t-extract-memory-from-operand-for-normal-memory-.patch --]
[-- Type: application/x-patch, Size: 3358 bytes --]

^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2020-11-04 10:19 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-27  6:53 [PATCH][PR target/97540] Don't extract memory from operand for normal memory constraint Hongtao Liu
2020-10-27 11:13 ` Richard Sandiford
2020-10-28  1:32   ` Hongtao Liu
2020-10-28 18:46     ` Richard Sandiford
2020-10-29  1:20       ` Hongtao Liu
2020-10-29 17:00         ` Richard Sandiford
2020-11-02  7:12           ` Hongtao Liu
2020-11-02 19:03             ` Richard Sandiford
2020-10-29  5:33   ` Hongtao Liu
2020-10-29 17:03     ` Richard Sandiford
2020-10-31 17:16       ` Hans-Peter Nilsson
2020-10-29 11:01   ` Jakub Jelinek
2020-10-29 17:16     ` Richard Sandiford
2020-11-02 19:40 ` Vladimir Makarov
2020-11-03 13:51   ` Richard Sandiford
2020-11-04  5:14     ` Hongtao Liu
2020-11-04 10:19       ` Richard Sandiford

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).