Stream: git-wasmtime

Topic: wasmtime / issue #1077 Support architectural delay slots


view this post on Zulip Wasmtime GitHub notifications bot (May 04 2022 at 20:22):

cfallin labeled issue #1077:

Some architectures make use of branch delay slots, such as MIPS and SPARC; some even more exotic ones have load delay slots as well. Often enough there are also instructions with results only usable after certain number of cycles.

I'm trying to port Cranelift to MIPS64. I glanced over the codebase and found no support for filling the delay slots; I had to emit NOPs after every branch in the meantime. (Indeed I didn't expect any because all currently supported architectures have no delay slots.)

So what's the current plan regarding this? A roadmap or implementation guide would be great!

view this post on Zulip Wasmtime GitHub notifications bot (May 04 2022 at 20:22):

cfallin labeled issue #1077:

Some architectures make use of branch delay slots, such as MIPS and SPARC; some even more exotic ones have load delay slots as well. Often enough there are also instructions with results only usable after certain number of cycles.

I'm trying to port Cranelift to MIPS64. I glanced over the codebase and found no support for filling the delay slots; I had to emit NOPs after every branch in the meantime. (Indeed I didn't expect any because all currently supported architectures have no delay slots.)

So what's the current plan regarding this? A roadmap or implementation guide would be great!


Last updated: Dec 23 2024 at 12:05 UTC