Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(510)

Delta Between Two Patch Sets: src/pkg/runtime/runtime.h

Issue 6550058: code review 6550058: build: make int 64 bits on amd64 (Closed)
Left Patch Set: Created 12 years, 6 months ago
Right Patch Set: diff -r 0a3866d6cc6b https://code.google.com/p/go/ Created 12 years, 6 months ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
Right: Side by side diff | Download
« no previous file with change/comment | « src/pkg/math/big/arith_amd64.s ('k') | test/index.go » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
(no file at all)
1 // Copyright 2009 The Go Authors. All rights reserved. 1 // Copyright 2009 The Go Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style 2 // Use of this source code is governed by a BSD-style
3 // license that can be found in the LICENSE file. 3 // license that can be found in the LICENSE file.
4 4
5 /* 5 /*
6 * basic types 6 * basic types
7 */ 7 */
8 typedef signed char int8; 8 typedef signed char int8;
9 typedef unsigned char uint8; 9 typedef unsigned char uint8;
10 typedef signed short int16; 10 typedef signed short int16;
11 typedef unsigned short uint16; 11 typedef unsigned short uint16;
12 typedef signed int int32; 12 typedef signed int int32;
13 typedef unsigned int uint32; 13 typedef unsigned int uint32;
14 typedef signed long long int int64; 14 typedef signed long long int int64;
15 typedef unsigned long long int uint64; 15 typedef unsigned long long int uint64;
16 typedef float float32; 16 typedef float float32;
17 typedef double float64; 17 typedef double float64;
18 18
19 #ifdef _64BIT 19 #ifdef _64BIT
20 typedef uint64 uintptr; 20 typedef uint64 uintptr;
21 typedef int64 intptr; 21 typedef int64 intptr;
22 typedef»int32» » intgo; // Go's int 22 typedef»int64» » intgo; // Go's int
23 typedef»uint32» » uintgo; // Go's uint 23 typedef»uint64» » uintgo; // Go's uint
24 #else 24 #else
25 typedef uint32 uintptr; 25 typedef uint32 uintptr;
26 typedef int32 intptr; 26 typedef int32 intptr;
27 typedef int32 intgo; // Go's int 27 typedef int32 intgo; // Go's int
28 typedef uint32 uintgo; // Go's uint 28 typedef uint32 uintgo; // Go's uint
29 #endif 29 #endif
30 30
31 /* 31 /*
32 * get rid of C types 32 * get rid of C types
33 * the / / / forces a syntax error immediately, 33 * the / / / forces a syntax error immediately,
(...skipping 803 matching lines...) Expand 10 before | Expand all | Expand 10 after
837 extern float64 runtime·neginf; 837 extern float64 runtime·neginf;
838 extern uint64 ·nan; 838 extern uint64 ·nan;
839 extern uint64 ·posinf; 839 extern uint64 ·posinf;
840 extern uint64 ·neginf; 840 extern uint64 ·neginf;
841 #define ISNAN(f) ((f) != (f)) 841 #define ISNAN(f) ((f) != (f))
842 842
843 enum 843 enum
844 { 844 {
845 UseSpanType = 1, 845 UseSpanType = 1,
846 }; 846 };
LEFTRIGHT

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b