[lworld+vector] RFR: 8304310: Initial compilers and runtime handling for multifield backed vectors. [v11]
Jatin Bhateja
jbhateja at openjdk.org
Tue May 9 19:08:09 UTC 2023
On Sat, 6 May 2023 09:57:09 GMT, Xiaohong Gong <xgong at openjdk.org> wrote:
>> Jatin Bhateja has updated the pull request incrementally with one additional commit since the last revision:
>>
>> Few fixes for failing vector API regression.
>
> src/hotspot/share/opto/inlinetypenode.cpp line 440:
>
>> 438: if (field->is_multifield_base() &&
>> 439: Matcher::match_rule_supported_vector(VectorNode::replicate_opcode(bt), vec_len, bt)) {
>> 440: value = kit->gvn().transform(VectorNode::scalar2vector(value, vec_len, Type::get_const_type(field->type()), false));
>
> If the oop is not the default oop, the multifield values maybe different from the multifield base, right?
Correct, its handles loading a multi-field value from a constant oop associated with payload which is created only when payload class is uninitialized.
https://github.com/openjdk/valhalla/pull/833/files#diff-ba9e2d10a50a01316946660ec9f68321eb864fd9c815616c10abbec39360efe5R1692
-------------
PR Review Comment: https://git.openjdk.org/valhalla/pull/833#discussion_r1189026780
More information about the valhalla-dev
mailing list