i386: Implement asm flag outputs
authorRichard Henderson <rth@redhat.com>
Mon, 29 Jun 2015 14:35:19 +0000 (07:35 -0700)
committerRichard Henderson <rth@gcc.gnu.org>
Mon, 29 Jun 2015 14:35:19 +0000 (07:35 -0700)
commitf767f58360e4a029f079c77c0ccf76c505d7c302
tree2fcec776a565f4e7af84a254c59a81a44a678ac2
parent8fd17b982de905b1d564b9be985ecaacbc6c635f
i386: Implement asm flag outputs

        * config/i386/constraints.md (Bf): New constraint.
        * config/i386/i386-c.c (ix86_target_macros): Define
        __GCC_ASM_FLAG_OUTPUTS__.
        * config/i386/i386.c (ix86_md_asm_adjust): Handle =@cc* constraints
        as flags outputs.
        * doc/extend.texi (FlagOutputOperands): Document them.
testsuite/
        * gcc.target/i386/asm-flag-1.c: New.
        * gcc.target/i386/asm-flag-2.c: New.
        * gcc.target/i386/asm-flag-3.c: New.
        * gcc.target/i386/asm-flag-4.c: New.
        * gcc.target/i386/asm-flag-5.c: New.

From-SVN: r225122
12 files changed:
gcc/ChangeLog
gcc/config/i386/constraints.md
gcc/config/i386/i386-c.c
gcc/config/i386/i386.c
gcc/doc/extend.texi
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/asm-flag-0.c [new file with mode: 0644]
gcc/testsuite/gcc.target/i386/asm-flag-1.c [new file with mode: 0644]
gcc/testsuite/gcc.target/i386/asm-flag-2.c [new file with mode: 0644]
gcc/testsuite/gcc.target/i386/asm-flag-3.c [new file with mode: 0644]
gcc/testsuite/gcc.target/i386/asm-flag-4.c [new file with mode: 0644]
gcc/testsuite/gcc.target/i386/asm-flag-5.c [new file with mode: 0644]