summaryrefslogtreecommitdiff
path: root/gcc/optabs.c
diff options
context:
space:
mode:
authorrearnsha <rearnsha@138bc75d-0d04-0410-961f-82ee72b054a4>2009-08-06 14:27:45 +0000
committerrearnsha <rearnsha@138bc75d-0d04-0410-961f-82ee72b054a4>2009-08-06 14:27:45 +0000
commit578d1295a94a5dd2630f5095d47d5c7fd01d7d55 (patch)
treedf1d57c0d8628c4ee8c6416e133ab90912496374 /gcc/optabs.c
parent6f3cfaa30d80b3843fa6fbbac41d359916897c3a (diff)
downloadgcc-578d1295a94a5dd2630f5095d47d5c7fd01d7d55.tar.gz
Merge ARM/hard_vfp_branch to trunk
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150525 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/optabs.c')
-rw-r--r--gcc/optabs.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/optabs.c b/gcc/optabs.c
index 16eb4dd3dbb..fcc1649caf3 100644
--- a/gcc/optabs.c
+++ b/gcc/optabs.c
@@ -3278,7 +3278,8 @@ expand_unop (enum machine_mode mode, optab unoptab, rtx op0, rtx target,
if (unoptab == ffs_optab || unoptab == clz_optab || unoptab == ctz_optab
|| unoptab == popcount_optab || unoptab == parity_optab)
outmode
- = GET_MODE (hard_libcall_value (TYPE_MODE (integer_type_node)));
+ = GET_MODE (hard_libcall_value (TYPE_MODE (integer_type_node),
+ optab_libfunc (unoptab, mode)));
start_sequence ();