[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] Re: [PATCH][RFC] Run time TCGv size check for debugging
From: |
Blue Swirl |
Subject: |
Re: [Qemu-devel] Re: [PATCH][RFC] Run time TCGv size check for debugging |
Date: |
Sat, 1 Nov 2008 19:03:11 +0200 |
On 11/1/08, Paul Brook <address@hidden> wrote:
> > > With the patch, I found some bugs in Sparc translation. I'm not sure
> > > what to do with helpers, there should be a way to declare the size of
> > > the arguments somehow and then the calling should be easier than:
> > > tcg_gen_helper_1_4_i64_tl_i32_i32_i32(helper_ld_asi, dst, addr, r_asi,
> > > r_size, r_sign);
> >
> > I think we can build some infrastructure to make helpers easier to handle.
> > It should be relatively mechanical changes to the existing helper[s].h.
> > ARM and m68k already do this, though need a bit more work to get static
> > typechecking. All the information it there's it's just not quite in the
> > right form. I'll see if I can dig out the CPP magic required for this.
>
>
> I've got something that works. Any chance you could resend you patch with a
> signed-off-by line so I can do the integration?
I don't trust these much, but anyway:
Signed-off-by: Blue Swirl <address@hidden>
compile_time_tcgv_size_check.diff.bz2
Description: BZip2 compressed data