diff options
author | ths | 2008-05-21 04:04:15 +0200 |
---|---|---|
committer | ths | 2008-05-21 04:04:15 +0200 |
commit | 30898801ad8c70708ead392b243ca8bcd28ca722 (patch) | |
tree | 2a3c60c0c05b12bb3470ebd8c3832761b0b30069 /target-mips/op_helper.c | |
parent | Switch MIPS movn/movz to TCG. (diff) | |
download | qemu-30898801ad8c70708ead392b243ca8bcd28ca722.tar.gz qemu-30898801ad8c70708ead392b243ca8bcd28ca722.tar.xz qemu-30898801ad8c70708ead392b243ca8bcd28ca722.zip |
Switch MIPS clo/clz and the condition tests to TCG.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4507 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-mips/op_helper.c')
-rw-r--r-- | target-mips/op_helper.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/target-mips/op_helper.c b/target-mips/op_helper.c index 3bb80954e8..50f353a4d6 100644 --- a/target-mips/op_helper.c +++ b/target-mips/op_helper.c @@ -71,6 +71,16 @@ void do_restore_state (void *pc_ptr) } } +void do_clo (void) +{ + T0 = clo32(T0); +} + +void do_clz (void) +{ + T0 = clz32(T0); +} + #if defined(TARGET_MIPS64) #if TARGET_LONG_BITS > HOST_LONG_BITS /* Those might call libgcc functions. */ |