MVT spec

Remi Forax forax at univ-mlv.fr
Wed Aug 23 16:03:30 UTC 2017


Hi Dan, hi all,

The spec for the MVT [1] seem to be a bit behind the implementation ?

The opcodes do not have the right opcode values,
the right values are
  vload                = 203, // 0xcb
  vstore               = 204, // 0xcc
  vaload               = 205, // 0xcd
  vastore              = 206, // 0xce
  vreturn              = 207, // 0xcf
  vdefault             = 208, // 0xd0
  vwithfield           = 209, // 0xd1
  vbox                 = 210, // 0xd2
  vunbox               = 211, // 0xd3
  

and in section 6.5,
  there is a typo, the form of vreturn should be vreturn = 207 (0xcf) 
  also, the VM spec allows you to let things on stack, so the resulting operand stack should be ...
  (i've checked the jvm spec 8, and the description of 'return' also use [empty], i think they should be both corrected)
 

cheers,
Rémi

[1] http://cr.openjdk.java.net/~dlsmith/values.html


More information about the valhalla-dev mailing list