boot2

Playing with the boostrap
git clone https://git.ryansepassi.com/git/boot2.git
Log | Files | Refs | README

arm64-svcul-no-truncate-store.after (245B)


      1 ST_FUNC void store(int r, SValue *sv)
      2 {
      3     int svtt = sv->type.t;
      4     int svr = sv->r & ~VT_LVAL_TYPE;
      5     int svrv = svr & VT_VALMASK;
      6     /* See arm64-gen.c::load() — same uint32_t truncation bug. */
      7     uint64_t svcul = (uint64_t)sv->c.i;