Mercurial > hg > index.cgi
annotate win/lwtools.sln @ 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 | 221b5f58d8ad |
children |
rev | line source |
---|---|
361
4130ffdeb5c8
Add contributed support for building with Microsoft's compiler
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
1 |
4130ffdeb5c8
Add contributed support for building with Microsoft's compiler
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
2 Microsoft Visual Studio Solution File, Format Version 12.00 |
4130ffdeb5c8
Add contributed support for building with Microsoft's compiler
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
3 # Visual Studio 2013 |
4130ffdeb5c8
Add contributed support for building with Microsoft's compiler
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
4 VisualStudioVersion = 12.0.31101.0 |
4130ffdeb5c8
Add contributed support for building with Microsoft's compiler
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
5 MinimumVisualStudioVersion = 10.0.40219.1 |
4130ffdeb5c8
Add contributed support for building with Microsoft's compiler
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
6 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "lwlib", "lwlib.vcxproj", "{93A52E3F-D19D-4A1A-8B8F-15270BD3D0E2}" |
4130ffdeb5c8
Add contributed support for building with Microsoft's compiler
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
7 EndProject |
4130ffdeb5c8
Add contributed support for building with Microsoft's compiler
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
8 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "lwasm", "lwasm.vcxproj", "{52309F4D-C1D8-43FC-BC02-C71B69D01E3B}" |
4130ffdeb5c8
Add contributed support for building with Microsoft's compiler
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
9 EndProject |
386
221b5f58d8ad
Port remainder of tools to Windows
William Astle <lost@l-w.ca>
parents:
361
diff
changeset
|
10 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "lwlink", "lwlink.vcxproj", "{FF4E3359-4B82-4111-8D32-16E0DCFAE39E}" |
221b5f58d8ad
Port remainder of tools to Windows
William Astle <lost@l-w.ca>
parents:
361
diff
changeset
|
11 EndProject |
221b5f58d8ad
Port remainder of tools to Windows
William Astle <lost@l-w.ca>
parents:
361
diff
changeset
|
12 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "lwar", "lwar.vcxproj", "{D3F0DBD9-6275-428B-950F-01FE32D77A58}" |
221b5f58d8ad
Port remainder of tools to Windows
William Astle <lost@l-w.ca>
parents:
361
diff
changeset
|
13 EndProject |
221b5f58d8ad
Port remainder of tools to Windows
William Astle <lost@l-w.ca>
parents:
361
diff
changeset
|
14 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "lwobjdump", "lwobjdump.vcxproj", "{852540C9-DEA5-4BFF-BE18-FD946C3857AA}" |
221b5f58d8ad
Port remainder of tools to Windows
William Astle <lost@l-w.ca>
parents:
361
diff
changeset
|
15 EndProject |
361
4130ffdeb5c8
Add contributed support for building with Microsoft's compiler
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
16 Global |
4130ffdeb5c8
Add contributed support for building with Microsoft's compiler
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
17 GlobalSection(SolutionConfigurationPlatforms) = preSolution |
4130ffdeb5c8
Add contributed support for building with Microsoft's compiler
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
18 Debug|Win32 = Debug|Win32 |
4130ffdeb5c8
Add contributed support for building with Microsoft's compiler
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
19 Release|Win32 = Release|Win32 |
4130ffdeb5c8
Add contributed support for building with Microsoft's compiler
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
20 EndGlobalSection |
4130ffdeb5c8
Add contributed support for building with Microsoft's compiler
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
21 GlobalSection(ProjectConfigurationPlatforms) = postSolution |
4130ffdeb5c8
Add contributed support for building with Microsoft's compiler
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
22 {93A52E3F-D19D-4A1A-8B8F-15270BD3D0E2}.Debug|Win32.ActiveCfg = Debug|Win32 |
4130ffdeb5c8
Add contributed support for building with Microsoft's compiler
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
23 {93A52E3F-D19D-4A1A-8B8F-15270BD3D0E2}.Debug|Win32.Build.0 = Debug|Win32 |
4130ffdeb5c8
Add contributed support for building with Microsoft's compiler
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
24 {93A52E3F-D19D-4A1A-8B8F-15270BD3D0E2}.Release|Win32.ActiveCfg = Release|Win32 |
4130ffdeb5c8
Add contributed support for building with Microsoft's compiler
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
25 {93A52E3F-D19D-4A1A-8B8F-15270BD3D0E2}.Release|Win32.Build.0 = Release|Win32 |
4130ffdeb5c8
Add contributed support for building with Microsoft's compiler
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
26 {52309F4D-C1D8-43FC-BC02-C71B69D01E3B}.Debug|Win32.ActiveCfg = Debug|Win32 |
4130ffdeb5c8
Add contributed support for building with Microsoft's compiler
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
27 {52309F4D-C1D8-43FC-BC02-C71B69D01E3B}.Debug|Win32.Build.0 = Debug|Win32 |
4130ffdeb5c8
Add contributed support for building with Microsoft's compiler
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
28 {52309F4D-C1D8-43FC-BC02-C71B69D01E3B}.Release|Win32.ActiveCfg = Release|Win32 |
4130ffdeb5c8
Add contributed support for building with Microsoft's compiler
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
29 {52309F4D-C1D8-43FC-BC02-C71B69D01E3B}.Release|Win32.Build.0 = Release|Win32 |
386
221b5f58d8ad
Port remainder of tools to Windows
William Astle <lost@l-w.ca>
parents:
361
diff
changeset
|
30 {FF4E3359-4B82-4111-8D32-16E0DCFAE39E}.Debug|Win32.ActiveCfg = Debug|Win32 |
221b5f58d8ad
Port remainder of tools to Windows
William Astle <lost@l-w.ca>
parents:
361
diff
changeset
|
31 {FF4E3359-4B82-4111-8D32-16E0DCFAE39E}.Debug|Win32.Build.0 = Debug|Win32 |
221b5f58d8ad
Port remainder of tools to Windows
William Astle <lost@l-w.ca>
parents:
361
diff
changeset
|
32 {FF4E3359-4B82-4111-8D32-16E0DCFAE39E}.Release|Win32.ActiveCfg = Release|Win32 |
221b5f58d8ad
Port remainder of tools to Windows
William Astle <lost@l-w.ca>
parents:
361
diff
changeset
|
33 {FF4E3359-4B82-4111-8D32-16E0DCFAE39E}.Release|Win32.Build.0 = Release|Win32 |
221b5f58d8ad
Port remainder of tools to Windows
William Astle <lost@l-w.ca>
parents:
361
diff
changeset
|
34 {D3F0DBD9-6275-428B-950F-01FE32D77A58}.Debug|Win32.ActiveCfg = Debug|Win32 |
221b5f58d8ad
Port remainder of tools to Windows
William Astle <lost@l-w.ca>
parents:
361
diff
changeset
|
35 {D3F0DBD9-6275-428B-950F-01FE32D77A58}.Debug|Win32.Build.0 = Debug|Win32 |
221b5f58d8ad
Port remainder of tools to Windows
William Astle <lost@l-w.ca>
parents:
361
diff
changeset
|
36 {D3F0DBD9-6275-428B-950F-01FE32D77A58}.Release|Win32.ActiveCfg = Release|Win32 |
221b5f58d8ad
Port remainder of tools to Windows
William Astle <lost@l-w.ca>
parents:
361
diff
changeset
|
37 {D3F0DBD9-6275-428B-950F-01FE32D77A58}.Release|Win32.Build.0 = Release|Win32 |
221b5f58d8ad
Port remainder of tools to Windows
William Astle <lost@l-w.ca>
parents:
361
diff
changeset
|
38 {852540C9-DEA5-4BFF-BE18-FD946C3857AA}.Debug|Win32.ActiveCfg = Debug|Win32 |
221b5f58d8ad
Port remainder of tools to Windows
William Astle <lost@l-w.ca>
parents:
361
diff
changeset
|
39 {852540C9-DEA5-4BFF-BE18-FD946C3857AA}.Debug|Win32.Build.0 = Debug|Win32 |
221b5f58d8ad
Port remainder of tools to Windows
William Astle <lost@l-w.ca>
parents:
361
diff
changeset
|
40 {852540C9-DEA5-4BFF-BE18-FD946C3857AA}.Release|Win32.ActiveCfg = Release|Win32 |
221b5f58d8ad
Port remainder of tools to Windows
William Astle <lost@l-w.ca>
parents:
361
diff
changeset
|
41 {852540C9-DEA5-4BFF-BE18-FD946C3857AA}.Release|Win32.Build.0 = Release|Win32 |
361
4130ffdeb5c8
Add contributed support for building with Microsoft's compiler
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
42 EndGlobalSection |
4130ffdeb5c8
Add contributed support for building with Microsoft's compiler
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
43 GlobalSection(SolutionProperties) = preSolution |
4130ffdeb5c8
Add contributed support for building with Microsoft's compiler
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
44 HideSolutionNode = FALSE |
4130ffdeb5c8
Add contributed support for building with Microsoft's compiler
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
45 EndGlobalSection |
4130ffdeb5c8
Add contributed support for building with Microsoft's compiler
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
46 EndGlobal |