1. 24 Jun, 2011 5 commits
  2. 23 Jun, 2011 7 commits
    • Yasuhiro Matsumoto's avatar
      mime/multipart: remove newline at top of the multipart. · 73d741fd
      Yasuhiro Matsumoto authored
      R=golang-dev, bradfitz, arctanofyourface
      CC=golang-dev
      https://golang.org/cl/4635063
      73d741fd
    • Anthony Martin's avatar
      libmach: fix disassembly of FCMOVcc and FCOMI · d8474670
      Anthony Martin authored
      The optable for 0xDB is handled specially.
      
      This was the cause of a really weird bug
      when using cov (386!) on the math package.
      
      A real head-scratcher.
      
      R=rsc
      CC=golang-dev
      https://golang.org/cl/4639066
      d8474670
    • Anthony Martin's avatar
      libmach: fix tracing on linux (for cov) · 8f72a87b
      Anthony Martin authored
      R=rsc, dave
      CC=golang-dev
      https://golang.org/cl/4629064
      8f72a87b
    • Russ Cox's avatar
      5c: do not use R9 and R10 · c475c307
      Russ Cox authored
      This program used to use R9 and R10.
      Now it fails to compile (out of registers).
      I used to know a simpler test but can't remember it.
      
      Learned something new: Rietveld refuses change
      list descriptions bigger than 10 kB.
      
      int sum(int x, int y, int z, int w) {
              return
              (((((((x*y+z*w|x*y+z*w)^
              (x*y+z*w|x*y+z*w))&
              ((x*y+z*w|x*y+z*w)^
              (x*y+z*w|x*y+z*w)))|
              (((x*y+z*w|x*y+z*w)^
              (x*y+z*w|x*y+z*w))&
              ((x*y+z*w|x*y+z*w)^
              (x*y+z*w|x*y+z*w))))/
              ((((x*y+z*w|x*y+z*w)^
              (x*y+z*w|x*y+z*w))&
              ((x*y+z*w|x*y+z*w)^
              (x*y+z*w|x*y+z*w)))|
              (((x*y+z*w|x*y+z*w)^
              (x*y+z*w|x*y+z*w))&
              ((x*y+z*w|x*y+z*w)^
              (x*y+z*w|x*y+z*w)))))%
              (((((x*y+z*w|x*y+z*w)^
              (x*y+z*w|x*y+z*w))&
              ((x*y+z*w|x*y+z*w)^
              (x*y+z*w|x*y+z*w)))|
              (((x*y+z*w|x*y+z*w)^
              (x*y+z*w|x*y+z*w))&
              ((x*y+z*w|x*y+z*w)^
              (x*y+z*w|x*y+z*w))))/
              ((((x*y+z*w|x*y+z*w)^
              (x*y+z*w|x*y+z*w))&
              ((x*y+z*w|x*y+z*w)^
              (x*y+z*w|x*y+z*w)))|
              (((x*y+z*w|x*y+z*w)^
              (x*y+z*w|x*y+z*w))&
              ((x*y+z*w|x*y+z*w)^
              (x*y+z*w|x*y+z*w))))))*
              ((((((x*y+z*w|x*y+z*w)^
              (x*y+z*w|x*y+z*w))&
              ((x*y+z*w|x*y+z*w)^
              (x*y+z*w|x*y+z*w)))|
              (((x*y+z*w|x*y+z*w)^
              (x*y+z*w|x*y+z*w))&
              ((x*y+z*w|x*y+z*w)^
              (x*y+z*w|x*y+z*w))))/
              ((((x*y+z*w|x*y+z*w)^
              (x*y+z*w|x*y+z*w))&
              ((x*y+z*w|x*y+z*w)^
              (x*y+z*w|x*y+z*w)))|
              (((x*y+z*w|x*y+z*w)^
              (x*y+z*w|x*y+z*w))&
              ((x*y+z*w|x*y+z*w)^
              (x*y+z*w|x*y+z*w)))))%
              (((((x*y+z*w|x*y+z*w)^
              (x*y+z*w|x*y+z*w))&
              ((x*y+z*w|x*y+z*w)^
              (x*y+z*w|x*y+z*w)))|
              (((x*y+z*w|x*y+z*w)^
              (x*y+z*w|x*y+z*w))&
              ((x*y+z*w|x*y+z*w)^
              (x*y+z*w|x*y+z*w))))/
              ((((x*y+z*w|x*y+z*w)^
              (x*y+z*w|x*y+z*w))&
              ((x*y+z*w|x*y+z*w)^
              (x*y+z*w|x*y+z*w)))|
              (((x*y+z*w|x*y+z*w)^
              (x*y+z*w|x*y+z*w))&
              ((x*y+z*w|x*y+z*w)^
              (x*y+z*w|x*y+z*w)))))))*
              (((((((x*y+z*w|x*y+z*w)^
              (x*y+z*w|x*y+z*w))&
              ((x*y+z*w|x*y+z*w)^
              (x*y+z*w|x*y+z*w)))|
              (((x*y+z*w|x*y+z*w)^
              (x*y+z*w|x*y+z*w))&
              ((x*y+z*w|x*y+z*w)^
              (x*y+z*w|x*y+z*w))))/
              ((((x*y+z*w|x*y+z*w)^
              (x*y+z*w|x*y+z*w))&
              ((x*y+z*w|x*y+z*w)^
              (x*y+z*w|x*y+z*w)))|
              (((x*y+z*w|x*y+z*w)^
              (x*y+z*w|x*y+z*w))&
              ((x*y+z*w|x*y+z*w)^
              (x*y+z*w|x*y+z*w)))))%
              (((((x*y+z*w|x*y+z*w)^
              (x*y+z*w|x*y+z*w))&
              ((x*y+z*w|x*y+z*w)^
              (x*y+z*w|x*y+z*w)))|
              (((x*y+z*w|x*y+z*w)^
              (x*y+z*w|x*y+z*w))&
              ((x*y+z*w|x*y+z*w)^
              (x*y+z*w|x*y+z*w))))/
              ((((x*y+z*w|x*y+z*w)^
              (x*y+z*w|x*y+z*w))&
              ((x*y+z*w|x*y+z*w)^
              (x*y+z*w|x*y+z*w)))|
              (((x*y+z*w|x*y+z*w)^
              (x*y+z*w|x*y+z*w))&
              ((x*y+z*w|x*y+z*w)^
              (x*y+z*w|x*y+z*w))))))*
              ((((((x*y+z*w|x*y+z*w)^
              (x*y+z*w|x*y+z*w))&
              ((x*y+z*w|x*y+z*w)^
              (x*y+z*w|x*y+z*w)))|
              (((x*y+z*w|x*y+z*w)^
              (x*y+z*w|x*y+z*w))&
              ((x*y+z*w|x*y+z*w)^
              (x*y+z*w|x*y+z*w))))/
              ((((x*y+z*w|x*y+z*w)^
              (x*y+z*w|x*y+z*w))&
              ((x*y+z*w|x*y+z*w)^
              (x*y+z*w|x*y+z*w)))|
              (((x*y+z*w|x*y+z*w)^
              (x*y+z*w|x*y+z*w))&
              ((x*y+z*w|x*y+z*w)^
              (x*y+z*w|x*y+z*w)))))%
              (((((x*y+z*w|x*y+z*w)^
              (x*y+z*w|x*y+z*w))&
              ((x*y+z*w|x*y+z*w)^
              (x*y+z*w|x*y+z*w)))|
              (((x*y+z*w|x*y+z*w)^
              (x*y+z*w|x*y+z*w))&
              ((x*y+z*w|x*y+z*w)^
              (x*y+z*w|x*y+z*w))))/
              ((((x*y+z*w|x*y+z*w)^
              (x*y+z*w|x*y+z*w))&
              ((x*y+z*w|x*y+z*w)^
              (x*y+z*w|x*y+z*w)))|
              (((x*y+z*w|x*y+z*w)^
              (x*y+z*w|x*y+z*w))&
              ((x*y+z*w|x*y+z*w)^
              (x*y+z*w|x*y+z*w)))))))
              ;
      }
      
      R=ken2
      CC=golang-dev
      https://golang.org/cl/4650053
      c475c307
    • Alex Brainman's avatar
      5d53aab4
    • Rob Pike's avatar
      exp/template: make -0 be an unsigned int. · 96731619
      Rob Pike authored
      Fix (inconsequential) type error in list initializer.
      
      R=rsc
      CC=golang-dev
      https://golang.org/cl/4638058
      96731619
    • Andrew Gerrand's avatar
      go/build: include Import objects in Script Inputs · d7df79a7
      Andrew Gerrand authored
      This has the effect of making goinstall rebuild a package's
      dependencies when they are newer than the current package object.
      
      R=rsc
      CC=golang-dev
      https://golang.org/cl/4627051
      d7df79a7
  3. 22 Jun, 2011 14 commits
  4. 21 Jun, 2011 7 commits
    • Lucio De Re's avatar
      8l: more fixes for Plan 9 · 10b5519d
      Lucio De Re authored
      Once these changes are effected, it is possible to construct
      "8l" native on a (386?) Plan 9 system, albeit with assistance
      from modules such as mkfiles that are not (yet) included in any
      public patches.
      
      8l/asm.c:
      . Corrected some format qualifiers.
      
      8l/list.c:
      . Cast a print() argument to (int) to match the given format.
        It may be possible to change the format (%R), but I have not
        looked into it.
      
      8l/obj.c:
      . Removed some unused code.
      
      8l/span.c:
      . Removed unnecessary incrementation on "bp".
      . Corrected some format qualifiers.
      
      ld/data.c:
      . Corrected some format qualifiers.
      . Cast print argument to (int): used as field size.
      . Use braces to suppress warning about empty if() statements.
      
      ld/dwarf.c:
      . Trivial spelling mistake in comment.
      
      ld/ldelf.c:
      . Added USED() statements to silence warnings.
      . Dropped redundant address (&) operators.
      . corrected some format qualifiers.
      . Cast to (int) for switch selection variable.
      
      ld/macho.c:
      . Added USED() statements to silence warnings.
      
      ld/ldpe.c:
      . Added USED() statements to silence warnings.
      . More careful use of "sect" variable.
      . Corrected some format qualifiers.
      . Removed redundant assignments.
      . Minor fix dropped as it was submitted separately.
      
      ld/pe.c:
      . Dropped <time.h> which is now in <u.h>.
      . Dropped redundant address (&) operators.
      . Added a missing variable initialisation.
      
      ld/symtab.c:
      . Added USED() statements to silence warnings.
      . Removed redundant incrementation.
      . Corrected some format qualifiers.
      
      All the above have been tested against a (very) recent release
      and do not seem to trigger any regressions.
      
      All review suggestions have been incorporated.
      
      R=rsc
      CC=golang-dev
      https://golang.org/cl/4633043
      10b5519d
    • Robert Hencke's avatar
      nacl, tiny: remove vestiges · b88e669a
      Robert Hencke authored
      R=golang-dev, r, rsc
      CC=golang-dev
      https://golang.org/cl/4635053
      b88e669a
    • Russ Cox's avatar
      gopprof: update list of memory allocators · d6be71c7
      Russ Cox authored
      Also import new weblist command from Google version.
      
      R=r, bradfitz
      CC=golang-dev
      https://golang.org/cl/4650048
      d6be71c7
    • Andrew Gerrand's avatar
      goinstall: undo 1ad616fb313d (always rebuild...) · f338d9f7
      Andrew Gerrand authored
      CL 4627051 is a better way of doing the same thing.
      
      R=golang-dev, r
      CC=golang-dev
      https://golang.org/cl/4654045
      f338d9f7
    • Alex Brainman's avatar
      builder: run make single-threaded on windows · 524d02cb
      Alex Brainman authored
      Will still honor MAKEFLAGS environment variable if set.
      
      R=golang-dev
      CC=bradfitz, golang-dev
      https://golang.org/cl/4644049
      524d02cb
    • Andrew Gerrand's avatar
      goinstall: undo repo peeking code · ceae2c93
      Andrew Gerrand authored
      Keeping the Julian's good refactoring work.
      
      R=rsc
      CC=golang-dev
      https://golang.org/cl/4638049
      ceae2c93
    • Ben Lynn's avatar
      Effective Go: supplied missing type in variadic function example. · 6be0bdf7
      Ben Lynn authored
      R=golang-dev, nigeltao
      CC=golang-dev
      https://golang.org/cl/4595055
      6be0bdf7
  5. 20 Jun, 2011 7 commits