add SimdScope.Shape redirector which switches from scalar to simd behaviour
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Mon, 25 Oct 2021 11:10:46 +0000 (12:10 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Mon, 25 Oct 2021 11:10:46 +0000 (12:10 +0100)
commit8cb1ccf1de1ca0166b0c62fcc46d5011df218eb2
treece3963c4603500631f96da906fce659ac96de237
parentb9657e88aa2b50d117c86b88c6d6186b3c91bf8c
add SimdScope.Shape redirector which switches from scalar to simd behaviour
depending on context.

for compatibility with nmigen Shape() the width parameter is passed
through to widths_at_elwid in SimdShape, allowing the layout() function
the opportunity to turn a scalar width into fixed element widths at
all elwids.
src/ieee754/part/layout_experiment.py
src/ieee754/part/simd_scope.py