Commit 419452fe by Uros Bizjak Committed by Uros Bizjak

i386.md (x86_sahf_1): Correctly handle HAVE_AS_IX86_SAHF.

       * config/i386/i386.md (x86_sahf_1): Correctly handle
       HAVE_AS_IX86_SAHF.


Co-Authored-By: Francois-Xavier Coudert <coudert@clipper.ens.fr>

From-SVN: r122953
parent 75873b87
2007-03-15 Uros Bizjak <ubizjak@gmail.com>
Francois-Xavier Coudert <coudert@clipper.ens.fr>
* config/i386/i386.md (x86_sahf_1): Correctly handle
HAVE_AS_IX86_SAHF.
2007-03-15 Uros Bizjak <ubizjak@gmail.com>
PR target/31167
* config/i386/i386.md (*addti3_1, *addti3_1 splitter): Use
......
......@@ -988,7 +988,13 @@
(unspec:CC [(match_operand:HI 0 "register_operand" "a")]
UNSPEC_SAHF))]
"TARGET_SAHF"
"* return HAVE_AS_IX86_SAHF ? \"sahf\" : \".byte\t0x9e\";"
{
#ifdef HAVE_AS_IX86_SAHF
return "sahf";
#else
return ".byte\t0x9e";
#endif
}
[(set_attr "length" "1")
(set_attr "athlon_decode" "vector")
(set_attr "amdfam10_decode" "direct")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment