Steffen Butzer
5aa84a744b
windows fastcall (x64) call convention ( #314 )
...
* initial set of work for windows fastcall (x64) call convention
- call conventions: rename `fastcall` to `windows_fastcall`
- add initial set of filetests
- ensure arguments are written after the shadow space/store (offset-wise)
The shadow space available before the arguments (range 0..32)
is not used as spill space yet.
* address review feedback
2018-05-09 13:18:30 -05:00
Dan Gohman
b4f9eb5e55
Bump versino to 0.8.0
2018-05-01 19:54:21 -07:00
Dan Gohman
5c2ada88f5
Add support for target_os = "nebulet". ( #319 )
2018-05-01 05:37:56 -07:00
Dan Gohman
525f01713b
Bump version to 0.7.0
2018-04-27 06:10:15 -07:00
Dan Gohman
e356c742aa
Bump version to 0.6.0
2018-04-23 14:35:23 -07:00
Dan Gohman
c5b15c2396
Refactor calling convention settings. ( #304 )
...
Add a calling-convention setting to the `Flags` used as part of the
`TargetIsa`. This allows Cretonne code that generates calls to use the
correct convention, such as when emitting libcalls during legalization
or when the wasm frontend is decoding functions. This setting can be
overridden per-function.
This also adds "fast", "cold", and "fastcall" conventions, with "fast"
as the new default. Note that "fast" and "cold" are not intended to be
ABI-compatible across Cretonne versions.
This will also ensure Windows users will get an `unimplemented!` rather
than silent calling-convention mismatches, which reflects the fact that
Windows calling conventions are not yet implemented.
This also renames SpiderWASM, which isn't camel-case, to Baldrdash,
which is, and which is also a more relevant name.
2018-04-22 21:35:18 -07:00
Dan Gohman
e876529152
Merge pull request #303 from sunfishcode/no_std_merge
...
Merge no_std into master
2018-04-20 12:11:53 -07:00
Dan Gohman
5434f4dafa
Update to raw_cpuid 3.1.0.
...
This hopefully fixes MSVC build issues; see #302 .
2018-04-19 17:09:39 -07:00
Dan Gohman
5f84afee2c
Merge remote-tracking branch 'origin/master' into no_std
2018-04-18 17:20:02 -07:00
Dan Gohman
1ba468b230
Bump version to 0.5.1
2018-04-17 22:18:30 -07:00
Dan Gohman
bf597b7abf
Enable and fix several more clippy lints.
2018-04-17 17:05:03 -07:00
morenzg
a10a6a0df0
Merge branch 'master' into no_std
2018-04-17 16:56:33 -04:00
Dan Gohman
1f43ec09f3
Bump version to 0.5.0
2018-04-17 10:58:33 -07:00
Dan Gohman
f43b6aca1a
Use lower-case letters for github URLs.
...
This makes it a little more consistent; now, "cretonne" is never capitalized
in identifier, path, or URL contexts. It is capitalized in natural
language contexts when referring to the project.
2018-04-17 09:47:11 -07:00
Dan Gohman
24fa169e1f
Rename the 'cretonne' crate to 'cretonne-codegen'.
...
This fixes the next part of #287 .
2018-04-17 09:46:56 -07:00
Dan Gohman
7767186dd0
Rename 'cton_*' library names to match the 'cretonne_*' crate names.
...
This renames `cton_frontend` to `cretonne_frontend` and so on.
This fixes the first part of #287 .
2018-04-17 07:55:59 -07:00
Dan Gohman
f552c8768e
Bump version to 0.4.4
2018-04-16 16:37:00 -07:00
Dan Gohman
a4523cf0b8
Bump version to 0.4.3
2018-04-16 14:48:11 -07:00
Dan Gohman
1c760ab179
Rename intel to x86.
...
x86 is the more accurate name, as there are non-Intel x86 implementations.
Fixes #263 .
2018-04-12 10:02:16 -07:00
Dan Gohman
781d3ee3ff
Bump version to 0.4.2
2018-04-03 16:04:54 -07:00
Dan Gohman
07693048f0
Merge remote-tracking branch 'origin/master' into no_std
2018-03-30 15:18:29 -07:00
Dan Gohman
8d5fecd324
Format with stable rustfmt-preview, then with rustfmt-0.9 again.
2018-03-30 13:17:15 -07:00
Dan Gohman
fc7b0a7e51
Rename the no_std feature to core.
...
See
https://github.com/yurydelendik/wasmparser.rs/pull/49#issuecomment-375436225
for more details.
2018-03-22 13:43:06 -07:00
Dan Gohman
2d1f9f874c
Bump version to 0.4.1
2018-03-18 14:56:30 -07:00
Dan Gohman
921cea2845
Bump version to 0.4.0
2018-03-16 16:12:56 -07:00
Dan Gohman
e776d987fd
Add Cargo.toml badges for published packages.
...
This adds a basic travis badge, as well as a badge indicating
"experimental" status, since the APIs are still evolving.
2018-03-13 09:34:11 -07:00
Dan Gohman
4a3077d638
Merge remote-tracking branch 'origin/master' into no_std
2018-03-12 12:55:57 -07:00
Dan Gohman
b8a106adf0
Remove the "has_sse2" flag.
...
Cretonne currently requires SSE2 support pervasively, so it's not meaningful
to have a setting for it.
2018-03-12 12:38:01 -07:00
Dan Gohman
e441337e4b
Bump version to 0.3.4
2018-03-09 16:32:13 -08:00
Dan Gohman
b5f428b6f2
Bump version to 0.3.3
2018-03-08 02:50:09 -08:00
Dan Gohman
ee0bce4106
Bump version to 0.3.2
2018-03-05 16:17:00 -08:00
Dan Gohman
d119524c90
Bump version to 0.3.1
2018-03-05 07:11:23 -08:00
Dan Gohman
b9f51d7850
Enable more compliler lints.
2018-02-28 13:18:07 -08:00
Dan Gohman
6fcbb20e10
Bump version to 0.3.0
2018-02-28 10:31:00 -08:00
Dan Gohman
dabfc55c6e
Bump version to 0.2.0
2018-02-27 15:58:25 -08:00
Dan Gohman
e37f45667f
Add an explicit std feature so that features are purely additive.
2018-02-23 21:49:55 -08:00
Lachlan Sneff
7375088c3e
Most of the way to no_std support
2018-02-23 20:56:30 -08:00
Dan Gohman
2a26b70854
Update URLs.
2018-02-23 16:16:44 -08:00
Jakob Stoklund Olesen
ec746c3359
Add a publish-all.sh script.
...
Set identical version numbers on all cretonne-* crates and print "cargo
publish" commands.
Update all crates to version 0.1.0.
2018-02-23 12:51:14 -08:00
Dan Gohman
c7655c4928
Add minimal README.md files to published crates.
...
This will put descriptions on the packages' crates.io pages.
2018-02-21 20:50:03 -08:00
Dan Gohman
24e185c8c5
Remove unnecessary parens.
2017-11-08 10:40:37 -08:00
Dan Gohman
f80ee7af39
Add a "host" crate for autodetecting the host. ( #159 )
...
* Add a "native" crate for autodetecting the host.
* Remove the redundant .gitignore.
* Use the proper builder for enabling subtarget flags.
2017-09-20 16:14:26 -07:00