summary refs log tree commit diff stats
path: root/tools
diff options
context:
space:
mode:
authorParashurama <Rhagdamaziel@ymail.com>2017-08-10 14:34:57 +0200
committerAndreas Rumpf <rumpf_a@web.de>2017-08-10 14:34:57 +0200
commit4fdf7f2ea3c1019635a21c96265372ef166ccce0 (patch)
treefeaf8d3db798f0a30795214ceb4f122cbe69b885 /tools
parent11082180b703f1aec6915c0635b144e5c692d2f0 (diff)
downloadNim-4fdf7f2ea3c1019635a21c96265372ef166ccce0.tar.gz
fix VM intsize for 32bits and smaller targetOS. (#6211)
This commit change the default behaviour of VM int/uint always being
64bits and make int/uint on VM behave identically to compiled code.

This insert 'opcNarrowU' or 'opcNarrow' opcode on Int/Uint operations
when needed to simulate smaller Int/Uint on VM.
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions
47 +0200 changed integer promotion rules; breaks bootstrapping and lots of code' href='/ahoang/Nim/commit/compiler/saturate.nim?h=devel&id=4fbba0a65ad310ba9498f1cf9f79eb0826b19f81'>4fbba0a65 ^
92b8fac94 ^
4fbba0a65 ^





92b8fac94 ^
4fbba0a65 ^








92b8fac94 ^
4fbba0a65 ^




92b8fac94 ^
4fbba0a65 ^
























1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79