boot2

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

arm64-load-const-lvalue.before (380B)


      1     if (svr == (VT_CONST | VT_LVAL | VT_SYM)) {
      2         arm64_sym(30, sv->sym, svcul); // use x30 for address
      3         if (IS_FREG(r))
      4             arm64_ldrv(arm64_type_size(svtt), fltr(r), 30, 0);
      5         else
      6             arm64_ldrx(!(svtt & VT_UNSIGNED), arm64_type_size(svtt),
      7                        intr(r), 30, 0);
      8         return;
      9     }
     10 
     11     if (svr == (VT_CONST | VT_SYM)) {