diff options
author | Richard Henderson <rth@cygnus.com> | 1999-09-02 13:01:46 -0700 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 1999-09-02 13:01:46 -0700 |
commit | 57bcb97aac8ba7f801c3ce18ef287ae9a4ac6ae9 (patch) | |
tree | dc5ca7fbf22568057834f64696baefb89b6503d6 /gcc/stmt.c | |
parent | 773c6f00765f091ee6a69929a19cfd46d7a30c03 (diff) | |
download | gcc-57bcb97aac8ba7f801c3ce18ef287ae9a4ac6ae9.zip gcc-57bcb97aac8ba7f801c3ce18ef287ae9a4ac6ae9.tar.gz gcc-57bcb97aac8ba7f801c3ce18ef287ae9a4ac6ae9.tar.bz2 |
stmt.c (expand_asm_operands): Invoke MD_ASM_CLOBBERS if present.
* stmt.c (expand_asm_operands): Invoke MD_ASM_CLOBBERS if present.
* tm.texi (MD_ASM_CLOBBERS): Document it.
From-SVN: r29064
Diffstat (limited to 'gcc/stmt.c')
-rw-r--r-- | gcc/stmt.c | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -1153,6 +1153,14 @@ expand_asm_operands (string, outputs, inputs, clobbers, vol, filename, line) return; } +#ifdef MD_ASM_CLOBBERS + /* Sometimes we wish to automatically clobber registers across an asm. + Case in point is when the i386 backend moved from cc0 to a hard reg -- + maintaining source-level compatability means automatically clobbering + the flags register. */ + MD_ASM_CLOBBERS (clobbers); +#endif + /* Count the number of meaningful clobbered registers, ignoring what we would ignore later. */ nclobbers = 0; |