From: Keith Randall Date: Wed, 6 Jan 2016 00:30:08 +0000 (-0800) Subject: [dev.ssa] cmd/compile: add some more TODOs X-Git-Tag: go1.7beta1~1623^2^2~98 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=035fcc0c4d0354adb1a8c837035f4ef3426bb5ed;p=gostls13.git [dev.ssa] cmd/compile: add some more TODOs Change-Id: If8b6b85d2165d6222b36f101adb95b7ee40371c1 Reviewed-on: https://go-review.googlesource.com/18300 Reviewed-by: David Chase --- diff --git a/src/cmd/compile/internal/ssa/TODO b/src/cmd/compile/internal/ssa/TODO index 73d91fefd7..d4904e1dcf 100644 --- a/src/cmd/compile/internal/ssa/TODO +++ b/src/cmd/compile/internal/ssa/TODO @@ -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) -------------------------------