-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathint_literals.html
138 lines (138 loc) · 11.7 KB
/
int_literals.html
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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
<a href="./index.html">Home</a><br><h3>Errors: 0</h3>
<h3>Warnings: 0</h3>
<h3>Successes: 51</h3>
<hr>
<h1>int_literals.wast</h1>
<pre>{"type":"module","line":1,"filename":"int_literals.0.wasm"}</pre>
<p style="background-color: green">loaded</p>
<pre>{"type":"assert_return","line":37,"action":{"type":"invoke","field":"i32.test"},"expected":[{"type":"i32","value":"195940365"}]}</pre>
<pre>(assert_return (invoke "i32.test") (i32.const 195940365))</pre>
<p style="background-color: green">ok, result</p>
<pre>{"type":"assert_return","line":38,"action":{"type":"invoke","field":"i32.umax"},"expected":[{"type":"i32","value":"4294967295"}]}</pre>
<pre>(assert_return (invoke "i32.umax") (i32.const -1))</pre>
<p style="background-color: green">ok, result</p>
<pre>{"type":"assert_return","line":39,"action":{"type":"invoke","field":"i32.smax"},"expected":[{"type":"i32","value":"2147483647"}]}</pre>
<pre>(assert_return (invoke "i32.smax") (i32.const 2147483647))</pre>
<p style="background-color: green">ok, result</p>
<pre>{"type":"assert_return","line":40,"action":{"type":"invoke","field":"i32.neg_smax"},"expected":[{"type":"i32","value":"2147483649"}]}</pre>
<pre>(assert_return (invoke "i32.neg_smax") (i32.const -2147483647))</pre>
<p style="background-color: green">ok, result</p>
<pre>{"type":"assert_return","line":41,"action":{"type":"invoke","field":"i32.smin"},"expected":[{"type":"i32","value":"2147483648"}]}</pre>
<pre>(assert_return (invoke "i32.smin") (i32.const -2147483648))</pre>
<p style="background-color: green">ok, result</p>
<pre>{"type":"assert_return","line":42,"action":{"type":"invoke","field":"i32.alt_smin"},"expected":[{"type":"i32","value":"2147483648"}]}</pre>
<pre>(assert_return (invoke "i32.alt_smin") (i32.const -2147483648))</pre>
<p style="background-color: green">ok, result</p>
<pre>{"type":"assert_return","line":43,"action":{"type":"invoke","field":"i32.inc_smin"},"expected":[{"type":"i32","value":"2147483649"}]}</pre>
<pre>(assert_return (invoke "i32.inc_smin") (i32.const -2147483647))</pre>
<p style="background-color: green">ok, result</p>
<pre>{"type":"assert_return","line":44,"action":{"type":"invoke","field":"i32.neg_zero"},"expected":[{"type":"i32","value":"0"}]}</pre>
<pre>(assert_return (invoke "i32.neg_zero") (i32.const 0))</pre>
<p style="background-color: green">ok, result</p>
<pre>{"type":"assert_return","line":45,"action":{"type":"invoke","field":"i32.not_octal"},"expected":[{"type":"i32","value":"10"}]}</pre>
<pre>(assert_return (invoke "i32.not_octal") (i32.const 10))</pre>
<p style="background-color: green">ok, result</p>
<pre>{"type":"assert_return","line":46,"action":{"type":"invoke","field":"i32.unsigned_decimal"},"expected":[{"type":"i32","value":"4294967295"}]}</pre>
<pre>(assert_return (invoke "i32.unsigned_decimal") (i32.const -1))</pre>
<p style="background-color: green">ok, result</p>
<pre>{"type":"assert_return","line":47,"action":{"type":"invoke","field":"i32.plus_sign"},"expected":[{"type":"i32","value":"42"}]}</pre>
<pre>(assert_return (invoke "i32.plus_sign") (i32.const 42))</pre>
<p style="background-color: green">ok, result</p>
<pre>{"type":"assert_return","line":49,"action":{"type":"invoke","field":"i64.test"},"expected":[{"type":"i64","value":"913028331277281902"}]}</pre>
<pre>(assert_return (invoke "i64.test") (i64.const 913028331277281902))</pre>
<p style="background-color: green">ok, result</p>
<pre>{"type":"assert_return","line":50,"action":{"type":"invoke","field":"i64.umax"},"expected":[{"type":"i64","value":"18446744073709551615"}]}</pre>
<pre>(assert_return (invoke "i64.umax") (i64.const -1))</pre>
<p style="background-color: green">ok, result</p>
<pre>{"type":"assert_return","line":51,"action":{"type":"invoke","field":"i64.smax"},"expected":[{"type":"i64","value":"9223372036854775807"}]}</pre>
<pre>(assert_return (invoke "i64.smax") (i64.const 9223372036854775807))</pre>
<p style="background-color: green">ok, result</p>
<pre>{"type":"assert_return","line":52,"action":{"type":"invoke","field":"i64.neg_smax"},"expected":[{"type":"i64","value":"9223372036854775809"}]}</pre>
<pre>(assert_return (invoke "i64.neg_smax") (i64.const -9223372036854775807))</pre>
<p style="background-color: green">ok, result</p>
<pre>{"type":"assert_return","line":53,"action":{"type":"invoke","field":"i64.smin"},"expected":[{"type":"i64","value":"9223372036854775808"}]}</pre>
<pre>(assert_return (invoke "i64.smin") (i64.const -9223372036854775808))</pre>
<p style="background-color: green">ok, result</p>
<pre>{"type":"assert_return","line":54,"action":{"type":"invoke","field":"i64.alt_smin"},"expected":[{"type":"i64","value":"9223372036854775808"}]}</pre>
<pre>(assert_return (invoke "i64.alt_smin") (i64.const -9223372036854775808))</pre>
<p style="background-color: green">ok, result</p>
<pre>{"type":"assert_return","line":55,"action":{"type":"invoke","field":"i64.inc_smin"},"expected":[{"type":"i64","value":"9223372036854775809"}]}</pre>
<pre>(assert_return (invoke "i64.inc_smin") (i64.const -9223372036854775807))</pre>
<p style="background-color: green">ok, result</p>
<pre>{"type":"assert_return","line":56,"action":{"type":"invoke","field":"i64.neg_zero"},"expected":[{"type":"i64","value":"0"}]}</pre>
<pre>(assert_return (invoke "i64.neg_zero") (i64.const 0))</pre>
<p style="background-color: green">ok, result</p>
<pre>{"type":"assert_return","line":57,"action":{"type":"invoke","field":"i64.not_octal"},"expected":[{"type":"i64","value":"10"}]}</pre>
<pre>(assert_return (invoke "i64.not_octal") (i64.const 10))</pre>
<p style="background-color: green">ok, result</p>
<pre>{"type":"assert_return","line":58,"action":{"type":"invoke","field":"i64.unsigned_decimal"},"expected":[{"type":"i64","value":"18446744073709551615"}]}</pre>
<pre>(assert_return (invoke "i64.unsigned_decimal") (i64.const -1))</pre>
<p style="background-color: green">ok, result</p>
<pre>{"type":"assert_return","line":59,"action":{"type":"invoke","field":"i64.plus_sign"},"expected":[{"type":"i64","value":"42"}]}</pre>
<pre>(assert_return (invoke "i64.plus_sign") (i64.const 42))</pre>
<p style="background-color: green">ok, result</p>
<pre>{"type":"assert_return","line":61,"action":{"type":"invoke","field":"i32-dec-sep1"},"expected":[{"type":"i32","value":"1000000"}]}</pre>
<pre>(assert_return (invoke "i32-dec-sep1") (i32.const 1000000))</pre>
<p style="background-color: green">ok, result</p>
<pre>{"type":"assert_return","line":62,"action":{"type":"invoke","field":"i32-dec-sep2"},"expected":[{"type":"i32","value":"1000"}]}</pre>
<pre>(assert_return (invoke "i32-dec-sep2") (i32.const 1000))</pre>
<p style="background-color: green">ok, result</p>
<pre>{"type":"assert_return","line":63,"action":{"type":"invoke","field":"i32-hex-sep1"},"expected":[{"type":"i32","value":"168755353"}]}</pre>
<pre>(assert_return (invoke "i32-hex-sep1") (i32.const 0xa0f0099))</pre>
<p style="background-color: green">ok, result</p>
<pre>{"type":"assert_return","line":64,"action":{"type":"invoke","field":"i32-hex-sep2"},"expected":[{"type":"i32","value":"109071"}]}</pre>
<pre>(assert_return (invoke "i32-hex-sep2") (i32.const 0x1aa0f))</pre>
<p style="background-color: green">ok, result</p>
<pre>{"type":"assert_return","line":66,"action":{"type":"invoke","field":"i64-dec-sep1"},"expected":[{"type":"i64","value":"1000000"}]}</pre>
<pre>(assert_return (invoke "i64-dec-sep1") (i64.const 1000000))</pre>
<p style="background-color: green">ok, result</p>
<pre>{"type":"assert_return","line":67,"action":{"type":"invoke","field":"i64-dec-sep2"},"expected":[{"type":"i64","value":"1000"}]}</pre>
<pre>(assert_return (invoke "i64-dec-sep2") (i64.const 1000))</pre>
<p style="background-color: green">ok, result</p>
<pre>{"type":"assert_return","line":68,"action":{"type":"invoke","field":"i64-hex-sep1"},"expected":[{"type":"i64","value":"3078696982321561"}]}</pre>
<pre>(assert_return (invoke "i64-hex-sep1") (i64.const 0xaf00f00009999))</pre>
<p style="background-color: green">ok, result</p>
<pre>{"type":"assert_return","line":69,"action":{"type":"invoke","field":"i64-hex-sep2"},"expected":[{"type":"i64","value":"109071"}]}</pre>
<pre>(assert_return (invoke "i64-hex-sep2") (i64.const 0x1aa0f))</pre>
<p style="background-color: green">ok, result</p>
<pre>{"type":"assert_malformed","line":72,"filename":"int_literals.1.wat","text":"unknown operator"}</pre>
<p style="background-color: green">got error: unexpected magic number</p>
<pre>{"type":"assert_malformed","line":76,"filename":"int_literals.2.wat","text":"unknown operator"}</pre>
<p style="background-color: green">got error: unexpected magic number</p>
<pre>{"type":"assert_malformed","line":80,"filename":"int_literals.3.wat","text":"unknown operator"}</pre>
<p style="background-color: green">got error: unexpected magic number</p>
<pre>{"type":"assert_malformed","line":84,"filename":"int_literals.4.wat","text":"unknown operator"}</pre>
<p style="background-color: green">got error: unexpected magic number</p>
<pre>{"type":"assert_malformed","line":88,"filename":"int_literals.5.wat","text":"unknown operator"}</pre>
<p style="background-color: green">got error: unexpected magic number</p>
<pre>{"type":"assert_malformed","line":92,"filename":"int_literals.6.wat","text":"unknown operator"}</pre>
<p style="background-color: green">got error: unexpected magic number</p>
<pre>{"type":"assert_malformed","line":96,"filename":"int_literals.7.wat","text":"unknown operator"}</pre>
<p style="background-color: green">got error: unexpected magic number</p>
<pre>{"type":"assert_malformed","line":100,"filename":"int_literals.8.wat","text":"unknown operator"}</pre>
<p style="background-color: green">got error: unexpected magic number</p>
<pre>{"type":"assert_malformed","line":104,"filename":"int_literals.9.wat","text":"unknown operator"}</pre>
<p style="background-color: green">got error: unexpected magic number</p>
<pre>{"type":"assert_malformed","line":108,"filename":"int_literals.10.wat","text":"unknown operator"}</pre>
<p style="background-color: green">got error: unexpected magic number</p>
<pre>{"type":"assert_malformed","line":113,"filename":"int_literals.11.wat","text":"unknown operator"}</pre>
<p style="background-color: green">got error: unexpected magic number</p>
<pre>{"type":"assert_malformed","line":117,"filename":"int_literals.12.wat","text":"unknown operator"}</pre>
<p style="background-color: green">got error: unexpected magic number</p>
<pre>{"type":"assert_malformed","line":121,"filename":"int_literals.13.wat","text":"unknown operator"}</pre>
<p style="background-color: green">got error: unexpected magic number</p>
<pre>{"type":"assert_malformed","line":125,"filename":"int_literals.14.wat","text":"unknown operator"}</pre>
<p style="background-color: green">got error: unexpected magic number</p>
<pre>{"type":"assert_malformed","line":129,"filename":"int_literals.15.wat","text":"unknown operator"}</pre>
<p style="background-color: green">got error: unexpected magic number</p>
<pre>{"type":"assert_malformed","line":133,"filename":"int_literals.16.wat","text":"unknown operator"}</pre>
<p style="background-color: green">got error: unexpected magic number</p>
<pre>{"type":"assert_malformed","line":137,"filename":"int_literals.17.wat","text":"unknown operator"}</pre>
<p style="background-color: green">got error: unexpected magic number</p>
<pre>{"type":"assert_malformed","line":141,"filename":"int_literals.18.wat","text":"unknown operator"}</pre>
<p style="background-color: green">got error: unexpected magic number</p>
<pre>{"type":"assert_malformed","line":145,"filename":"int_literals.19.wat","text":"unknown operator"}</pre>
<p style="background-color: green">got error: unexpected magic number</p>
<pre>{"type":"assert_malformed","line":149,"filename":"int_literals.20.wat","text":"unknown operator"}</pre>
<p style="background-color: green">got error: unexpected magic number</p>
<p>Generated at 2025-01-15T13:27:30</p>