Repository navigation
Implement neg (float/integer) and not IL instructions. Fixes #4524 and #4525 - #4725
Conversation
|
@jacano, |
|
I didn't include a little test in tests/src/Simple/HelloWasm/Program.cs. I'm sorry, I can fix this now |
|
I suspect I also need to handle the NativeInt type... |
Name parameter updated in LLVM build methods to reflect the operation being built. Use PushExpression method instead of direct push to stack.
|
I made two simple tests that are working: I was unable to get the neg test on floats working so I'm not pushing it. |
|
@jacano, now that you've got one in, interested in picking up any more opcodes (or anything else)? |
|
I think I can give a try to the array ops. As I saw in the issue description, you don't need to interact with the runtime nor the GC, so I suppose I can do it. I hope to have some time during the following week 😀 |

I took some time to implement the neg and not opcode. I also added support to float for neg op because I noticed a BuildFNeg method was available. I don't really know if this it's correct.
Just let me know if this can help you guys ;)