Re: Hacking into lj_meta_tset

  • From: Mike Pall <mike-1308@xxxxxxxxxx>
  • To: luajit@xxxxxxxxxxxxx
  • Date: Sat, 10 Aug 2013 10:17:36 +0200

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.

--Mike

Other related posts: