[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 2/2] tcg/arm: Implement movcond_i32
From: |
Richard Henderson |
Subject: |
Re: [Qemu-devel] [PATCH 2/2] tcg/arm: Implement movcond_i32 |
Date: |
Thu, 27 Sep 2012 07:32:38 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20120911 Thunderbird/15.0.1 |
On 09/26/2012 11:33 PM, Paolo Bonzini wrote:
> Should you make tcg/optimize.c prefer "movcond a, a, b" to "movcond a,
> b, a", similar to commit c2b0e2f (tcg/optimize: prefer the "op a, a, b"
> form for commutative ops, 2012-09-19)?
I explicitly went with "a, b, a" because I find it is easier to
reason with positive logic (move-if-true) than negative logic.
r~