[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 1/7] target-arm: Make Neon helper routines use c
From: |
Nathan Froyd |
Subject: |
Re: [Qemu-devel] [PATCH 1/7] target-arm: Make Neon helper routines use correct FP status |
Date: |
Sun, 13 Mar 2011 22:35:59 -0700 |
User-agent: |
Mutt/1.5.17+20080114 (2008-01-14) |
On Fri, Mar 11, 2011 at 10:31:31PM +0000, Peter Maydell wrote:
> On 11 March 2011 18:30, Nathan Froyd <address@hidden> wrote:
> > Is there a reason that you don't simply use the global env rather than
> > passing in an extra parameter everywhere?
>
> Just following the pattern that generally seems to be used by
> most helper functions, ie if you want the CPU env pass it in
> as a parameter. As far as I know, you can't use the global
> env unless you're in op_helper.c because that's the only
> source file compiled with the right flags.
Oh, right. I am ambivalent as to whether passing env to such functions
is the right thing to do or not.
> > I wonder if it'd be worthwhile just to merge these functions into
> > op_helper.c, since we have a proper FP status for NEON bits now.
>
> Why move these and not (for instance) the VFP helpers
> in helper.c which use the CPU env for more or less the
> same reasons?
No reason, other than that I wasn't thinking about the VFP helpers. :)
-Nathan
- [Qemu-devel] [PATCH 0/7] ARM: minor Neon fixes (mostly NaN related), Peter Maydell, 2011/03/11
- [Qemu-devel] [PATCH 4/7] target-arm: Fix VCLE.F32 #0, VCLT.F32 #0 NaN handling, Peter Maydell, 2011/03/11
- [Qemu-devel] [PATCH 3/7] target-arm: Return right result for Neon comparison with NaNs, Peter Maydell, 2011/03/11
- [Qemu-devel] [PATCH 7/7] target-arm: Use new softfloat min/max functions for VMAX, VMIN, Peter Maydell, 2011/03/11
- [Qemu-devel] [PATCH 5/7] target-arm: Correct ABD's handling of negative zeroes, Peter Maydell, 2011/03/11
- [Qemu-devel] [PATCH 2/7] target-arm/neon_helper.c: Use make_float32/float32_val macros, Peter Maydell, 2011/03/11
- [Qemu-devel] [PATCH 1/7] target-arm: Make Neon helper routines use correct FP status, Peter Maydell, 2011/03/11
[Qemu-devel] [PATCH 6/7] softfloat: Add float*_min() and float*_max() functions, Peter Maydell, 2011/03/11