Skip to content

Generate Load/Store tests where EEW!=SEW #72

Description

@akifejaz

Hi,

I noticed that the load/store tests only generate tests where SEW==EEW, Is there any way I can generate tests for EEW!=SEW?

For Example:

When I run this cmd ..

make -e VLEN=2048 XLEN=64 MODE=machine PATTERN='^vle8\.v$' -j8 

I get tests like ...

...
...
# -------------- TEST BEGIN --------------
li t0, 255
vsetvli t1, t0, e8,mf4,ta,ma
vle8.v v1, (a0), v0.t
# -------------- TEST END   --------------
...
...

here sew==eew, I want to generate tests where same vle8.v is tested with different SEWs (vsetvli).

I saw for Indexed load/store it does generate tests where eew!=sew ... like this below command generates ..

make -e VLEN=2048 XLEN=64 MODE=machine PATTERN='^vluxei8\.v$' -j8

tests like ... (eew!=sew)

# -------------- TEST BEGIN --------------
li t0, 139
vsetvli t1, t0, e16,mf4,ta,ma
vluxei8.v v1, (a0), v2
# -------------- TEST END   --------------

or Is this scripts don't support this for UnitStride/Strided Instructions? (if yes! Can you guide me a bit how can this be generated?)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions