commit | 64d776c37f5dcb3475b0ca99aaafa448ba98b717 | [log] [tgz] |
---|---|---|
author | sewardj <sewardj@8f6e269a-dfd6-0310-a8e1-e2731360e62c> | Fri Oct 01 14:06:22 2010 +0000 |
committer | sewardj <sewardj@8f6e269a-dfd6-0310-a8e1-e2731360e62c> | Fri Oct 01 14:06:22 2010 +0000 |
tree | a0a91e8ff4db465c8faec8d92dd0f8e92f40cf7a | |
parent | 45ca0b9d0db9eaebae60b1d3b297cc06e87cfc4c [diff] |
Improve constant folding of expressions of the form 'op(t,t)' where t is an IRTemp. This superficially fixes #213865, although it doesn't actually fix all the Intel-prescribed dependency-breaking cases tterrib listed there. The newly-handled cases here are: OrV128(t,t) ==> t Sub64(t,t) ==> 0 CmpEQ64(t,t), CmpEQ8x8(t,t), CmpEQ8x16(t,t) ==> all-1s git-svn-id: svn://svn.valgrind.org/vex/trunk@2058 8f6e269a-dfd6-0310-a8e1-e2731360e62c