abrown opened Issue #1348:
What is the feature or code improvement you would like to do in Cranelift?
In #1347 I added a temporary lowering for Wasm's
load_splat
to two Cranelift instructions,load + splat
. This generates extra instructions that could be removed by a specialized Craneliftload_splat
instruction or by smarter codegen (e.g. complex addressing on splat).What is the value of adding this in Cranelift?
Fewer instructions produced.
Do you have an implementation plan, and/or ideas for data structures or algorithms to use?
Seeking feedback on which way to proceed: specialized
load_splat
or smarter codegen.Have you considered alternative implementations? If so, how are they better or worse than your proposal?
See above.
abrown edited Issue #1348:
What is the feature or code improvement you would like to do in Cranelift?
In #1347 I added a temporary lowering for Wasm's
load_splat
to two Cranelift instructions,load + splat
. This generates extra instructions that could be removed by a specialized Craneliftload_splat
instruction or by smarter codegen (e.g. complex addressing on splat).What is the value of adding this in Cranelift?
Fewer instructions produced.
Do you have an implementation plan, and/or ideas for data structures or algorithms to use?
Seeking feedback on which way to proceed: specialized
load_splat
or smarter codegen.Have you considered alternative implementations? If so, how are they better or worse than your proposal?
See above.
abrown commented on Issue #1348:
@sunfishcode, I wonder if the
load
-from-constant-table questions I was asking also relate to this (in regard to the complex addressing).
alexcrichton transferred Issue #1348:
What is the feature or code improvement you would like to do in Cranelift?
In #1347 I added a temporary lowering for Wasm's
load_splat
to two Cranelift instructions,load + splat
. This generates extra instructions that could be removed by a specialized Craneliftload_splat
instruction or by smarter codegen (e.g. complex addressing on splat).What is the value of adding this in Cranelift?
Fewer instructions produced.
Do you have an implementation plan, and/or ideas for data structures or algorithms to use?
Seeking feedback on which way to proceed: specialized
load_splat
or smarter codegen.Have you considered alternative implementations? If so, how are they better or worse than your proposal?
See above.
Last updated: Nov 22 2024 at 17:03 UTC