ryan baird
2013-Jan-23 17:15 UTC
[LLVMdev] Code Generation for Statically Pipelined Architecture
I'm working on a project with a machine language for a statically pipelined architecture. This article provides an overview of the idea: http://www.cs.fsu.edu/~whalley/papers/cal11.pdf. Right now, we're using the VPO compiler to produce this assembly code. We've been exploring using LLVM as a front-end to provide high level optimization. We'd like to know if there's a good way to go about producing this assembly language directly. The problem I'm looking at is that one instruction can control multiple individual effects. For example, the instruction " M[ALUR2] = sw RS2; RS2 = r[20]; ALUR2 = ALUR2 add SE" does a store, a register read, and an ALU operation (keeping intermediate values in internal registers). We have encoding restrictions that allow us to fit such a group of effects into a 32 bit instruction. What would be the best way to accomplish this code generation using LLVM? -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130123/8ecbc123/attachment.html>
Maybe Matching Threads
- (no subject)
- Dealing with information loss for widened integer operations at ISel time
- Getting mouse position from a timed function - My Solution
- TableGen - Help to implement a form of gather/scatter operations for Mips MSA
- Model studies in one analysis using treatment as a five level moderator in a meta-regression