Re: Hacking into lj_meta_tset

  • From: Emil Dotchevski <emil@xxxxxxxxxxxxxxx>
  • To: luajit@xxxxxxxxxxxxx
  • Date: Sat, 10 Aug 2013 12:41:46 -0700

On Sat, Aug 10, 2013 at 1:17 AM, Mike Pall <mike-1308@xxxxxxxxxx> wrote:
> Emil Dotchevski wrote:
>> Things work fine on Windows, but the PPC version isn't working.
>
> It works for me on (plain) PPC with some simple tests.
>
> Note that PPC uses dual-number mode by default. So for t[x]=9
> you'll get v->it = 0xfffffff2 v->i = 0x00000009, whereas on x86
> you'll get v->n = 9.0.
>
>>   decode_RC8 RA, INS <-- Should this be inserted here also?
>
> Nope, that would decode the RC field.
>
> Also, RA is already decoded. It's used right after the call in the
> existing code, so that can't possibly be broken.

OK, thank you!

Emil

Other related posts: