compiler/sim: Add optimized and speed configuration

Allow native build to be configured same as other builds.
diff --git a/compiler/sim/compiler.yml b/compiler/sim/compiler.yml
index 52675f7..fc6c37b 100644
--- a/compiler/sim/compiler.yml
+++ b/compiler/sim/compiler.yml
@@ -29,6 +29,8 @@
 compiler.ld.resolve_circular_deps: true
 
 compiler.flags.default: [compiler.flags.base, -O1]
+compiler.flags.optimized: [compiler.flags.base, -Os]
+compiler.flags.speed: [compiler.flags.base, -O2]
 compiler.flags.debug: [compiler.flags.base, -O0]
 compiler.as.flags: [-x, assembler-with-cpp]
 compiler.ld.mapfile: false