annotate .hgignore @ 505:59b8c8b15bd4

Add integer shifts and fix code template errors for mul/div/mod One needs to remove stuff from the stack after putting it there. Actually do that in the code output for multiplication, division, and modulus. Add integer shifting code output which is optimized for constant shift counts but calls a routine for non-constant shift counts. Shifting by a negative amount is a no-op. Shifting by more than the size of an integer results in 0 (for left shifts) or -1 (for right shifts). Both negative shift counts and shift counts larger than the base type are undefined in the C standard so this behaviour is allowed.
author William Astle <lost@l-w.ca>
date Sat, 26 Oct 2019 22:01:55 -0600
parents 5b8871fd7503
children 5f10e1913d1a
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
28
9ac1c97d01db Fixed up hgignore
lost@l-w.ca
parents: 22
diff changeset
1 \.exe$
9ac1c97d01db Fixed up hgignore
lost@l-w.ca
parents: 22
diff changeset
2 \.o$
9ac1c97d01db Fixed up hgignore
lost@l-w.ca
parents: 22
diff changeset
3 \.d$
9ac1c97d01db Fixed up hgignore
lost@l-w.ca
parents: 22
diff changeset
4 \.a$
9ac1c97d01db Fixed up hgignore
lost@l-w.ca
parents: 22
diff changeset
5 ~$
9ac1c97d01db Fixed up hgignore
lost@l-w.ca
parents: 22
diff changeset
6 \.orig$
9ac1c97d01db Fixed up hgignore
lost@l-w.ca
parents: 22
diff changeset
7 /lwbasic$
9ac1c97d01db Fixed up hgignore
lost@l-w.ca
parents: 22
diff changeset
8 /lwlink$
9ac1c97d01db Fixed up hgignore
lost@l-w.ca
parents: 22
diff changeset
9 /lwobjdump$
9ac1c97d01db Fixed up hgignore
lost@l-w.ca
parents: 22
diff changeset
10 /lwar$
9ac1c97d01db Fixed up hgignore
lost@l-w.ca
parents: 22
diff changeset
11 /lwasm$
193
68f41eaf44f2 Added lwcc, lwcpp stubs
lost@l-w.ca
parents: 170
diff changeset
12 /lwcc/lwcc$
495
5b8871fd7503 Merged previous lwcc development branch into mainline.
William Astle <lost@l-w.ca>
parents: 363 311
diff changeset
13 /lwcc/lwcc-cpp$
5b8871fd7503 Merged previous lwcc development branch into mainline.
William Astle <lost@l-w.ca>
parents: 363 311
diff changeset
14 /lwcc/lwcc-cc
363
f90c9b044220 Add some windows related files to the ignore list for hg
William Astle <lost@l-w.ca>
parents: 193
diff changeset
15
f90c9b044220 Add some windows related files to the ignore list for hg
William Astle <lost@l-w.ca>
parents: 193
diff changeset
16 # for windows
f90c9b044220 Add some windows related files to the ignore list for hg
William Astle <lost@l-w.ca>
parents: 193
diff changeset
17 \.suo$
f90c9b044220 Add some windows related files to the ignore list for hg
William Astle <lost@l-w.ca>
parents: 193
diff changeset
18 \.sdf$
f90c9b044220 Add some windows related files to the ignore list for hg
William Astle <lost@l-w.ca>
parents: 193
diff changeset
19 \.opensdf$
f90c9b044220 Add some windows related files to the ignore list for hg
William Astle <lost@l-w.ca>
parents: 193
diff changeset
20 \Debug$
f90c9b044220 Add some windows related files to the ignore list for hg
William Astle <lost@l-w.ca>
parents: 193
diff changeset
21 \Release$