Skip to content

Move glue asm to glue.o #265

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed

Move glue asm to glue.o #265

wants to merge 1 commit into from

Conversation

espindola
Copy link

This is not perfect, but having the glue code in another file does reduce how much code we duplicate. It also makes it easier to read the output of rustc. This will get more important as my next patch is to split the wrappers into rust and cdecl variants.

@espindola
Copy link
Author

I updated the pull to also move the common IL bits to glue.o. This makes the darwin as happy and reduces even more how much code we print in every TU.

in each "translation unit".

Part of it is not repetitive and should probably be moved to a .ll file, but
for now we autogen all of it.
@graydon
Copy link
Contributor

graydon commented Mar 11, 2011

I pulled a modified version of this in with the separate 'glue' executable removed, transformed to a '-glue' flag we can pass to rustc to output glue.bc.

Making a separate 'glue' executable doubled our already-large compile times. Maybe we can do that when and if we split rustc into a crate + a small driver program. But not just yet.

oli-obk added a commit to oli-obk/rust that referenced this pull request Sep 19, 2017
keeperofdakeys pushed a commit to keeperofdakeys/rust that referenced this pull request Dec 12, 2017
Add SIGEMT (for apple) and SIGINFO (for bsd).
kazcw pushed a commit to kazcw/rust that referenced this pull request Oct 23, 2018
This commit starts the migration towards Intel's types one intrinsic at a time,
starting with `_mm_add_ss`. This is mostly just to get a feel for what the tests
will start to look like.
Aaron1011 pushed a commit to Aaron1011/rust that referenced this pull request Oct 26, 2020
djtech-dev pushed a commit to djtech-dev/rust that referenced this pull request Dec 9, 2021
carolynzech added a commit to carolynzech/rust that referenced this pull request Apr 17, 2025
This PR adds:
1. Challenge 17 : for slice functions
2. Chalenge 18: for slice-iter's functions generated by macros

By submitting this pull request, I confirm that my contribution is made
under the terms of the Apache 2.0 and MIT licenses.

---------

Co-authored-by: Carolyn Zech <cmzech@amazon.com>
Co-authored-by: Michael Tautschnig <mt@debian.org>
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants