RFR: 8309893: Integrate ReplicateB/S/I/L/F/D nodes to Replicate node [v2]
Jatin Bhateja
jbhateja at openjdk.org
Wed Oct 25 10:05:30 UTC 2023
On Wed, 25 Oct 2023 08:56:13 GMT, Emanuel Peter <epeter at openjdk.org> wrote:
>> src/hotspot/cpu/x86/x86.ad line 4162:
>>
>>> 4160: instruct vReplB_reg(vec dst, rRegI src) %{
>>> 4161: predicate(UseAVX >= 2 && Matcher::vector_element_basic_type(n) == T_BYTE);
>>> 4162: match(Set dst (Replicate src));
>>
>> Integral replicate patterns can be merged by folding predicates into macro assembler.
>
> @jatin-bhateja can you spell out a bit what you mean?
> And when you mention broadcast instructions, do you mean any non Replicate instructions?
@eme64, I see an opportunity for merging some integral broadcast patterns which share the operand definitions by moving predicates into macro assembler layer.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/14830#discussion_r1371481240
More information about the hotspot-compiler-dev
mailing list