aboutsummaryrefslogtreecommitdiff
path: root/gcc/builtins.c
diff options
context:
space:
mode:
authorJan Hubicka <jh@suse.cz>2003-02-22 01:32:09 +0100
committerJan Hubicka <hubicka@gcc.gnu.org>2003-02-22 00:32:09 +0000
commitd50672efa744b4492ca692e4cffcd7c9cdd55e37 (patch)
treea266b0a843d5fff9a87b5ef6845e62d66c3338ba /gcc/builtins.c
parent6a6d417ebdde6e06c887058bcedb884d21180be0 (diff)
downloadgcc-d50672efa744b4492ca692e4cffcd7c9cdd55e37.zip
gcc-d50672efa744b4492ca692e4cffcd7c9cdd55e37.tar.gz
gcc-d50672efa744b4492ca692e4cffcd7c9cdd55e37.tar.bz2
i386.c (builtin_description): Add __builtin_ia32_paddq and __builtin_ia32_psubq.
* i386.c (builtin_description): Add __builtin_ia32_paddq and __builtin_ia32_psubq. Fix __builtin_ia32_paddq128 and __builtin_ia32_psubq128. * i386.h (IX86_BUILTIN_PADDQ, IX86_BUILTIN_PSUBQ): New. * i386.md (addv*, mmx_ior*, mmx_xoe*, mmx_and*): Add missing '%'. (mmx_adddi3, mmx_subdi3): New. * mmintrin.h (_mm_add_si64, _mm_sub_si64): New. * xmmintrin.h (_mm_movepi64_pi64): New. (_mm_add_epi64, _mm_sub_epi64): fix. (_mm_mul_pu16): Rename to... (_mm_mul_su32): ... this one. * builtins.c (expand_builtin_expect): Do not predict flag_guess_branch_prob is not set. * c-semantics.c (expand_stmt): Likewise. * predict.c (predict_insn): Likewise. * stmt.c (expand_continue_loop): Likewise. * toplev.c (rest_of_compilation): Do not call note_prediction_to_br_prob and note_prediction_to_br_prob when not optimizing. From-SVN: r63263
Diffstat (limited to 'gcc/builtins.c')
-rw-r--r--gcc/builtins.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/builtins.c b/gcc/builtins.c
index 25ae873..ebb9835 100644
--- a/gcc/builtins.c
+++ b/gcc/builtins.c
@@ -3840,7 +3840,7 @@ expand_builtin_expect (arglist, target)
target = expand_expr (exp, target, VOIDmode, EXPAND_NORMAL);
/* Don't bother with expected value notes for integral constants. */
- if (GET_CODE (target) != CONST_INT)
+ if (flag_guess_branch_prob && GET_CODE (target) != CONST_INT)
{
/* We do need to force this into a register so that we can be
moderately sure to be able to correctly interpret the branch