]> Cypherpunks repositories - gostls13.git/commitdiff
[dev.ssa] cmd/compile: add some more TODOs
authorKeith Randall <khr@golang.org>
Wed, 6 Jan 2016 00:30:08 +0000 (16:30 -0800)
committerKeith Randall <khr@golang.org>
Fri, 8 Jan 2016 02:51:49 +0000 (02:51 +0000)
Change-Id: If8b6b85d2165d6222b36f101adb95b7ee40371c1
Reviewed-on: https://go-review.googlesource.com/18300
Reviewed-by: David Chase <drchase@google.com>
src/cmd/compile/internal/ssa/TODO

index 73d91fefd7fe2afb427c2298e74cf86788a73be2..d4904e1dcfa7f8f2c11b774445903b8b0b004348 100644 (file)
@@ -26,6 +26,15 @@ Optimizations (better compiled code)
   CMP AX, $0
   JEQ ...
 - Use better write barrier calls
+- If there are a lot of MOVQ $0, ..., then load
+  0 into a register and use the register as the source instead.
+- Allow structs (and arrays of length 1?) to be SSAable.
+- Figure out how to make PARAMOUT variables ssa-able.
+  They need to get spilled automatically at end-of-function somehow.
+- If strings are being passed around without being interpreted (ptr
+  and len feilds being accessed) pass them in xmm registers?
+  Same for interfaces?
+- boolean logic: movb/xorb$1/testb/jeq -> movb/testb/jne
 
 Optimizations (better compiler)
 -------------------------------