Skip to content

Conversation

@folkertdev
Copy link
Contributor

This is useful when iterating on intrinsic-test so you don't need to wait for all intrinsics to get tested.

I'm also enabling more logs, that seems useful to just kind of see what it's doing, and less of a problem now that the intrinsic tests are in their own CI actions.

@rustbot
Copy link
Collaborator

rustbot commented Oct 26, 2025

r? @Amanieu

rustbot has assigned @Amanieu.
They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

Comment on lines 47 to 55
let intrinsics =
let mut intrinsics =
get_xml_intrinsics(&cli_options.filename).expect("Error parsing input file");

intrinsics.sort_by(|a, b| a.name.cmp(&b.name));
intrinsics.dedup();

let sample_percentage: usize = cli_options.sample_percentage as usize;
let sample_size = (intrinsics.len() * sample_percentage) / 100;

let mut intrinsics = intrinsics
let intrinsics = intrinsics
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@madhav-madhusoodanan does this look right to you? CI failed on this before complaining it cannot find mod_0.o which I think can only happen if we somehow filter out all intrinsics.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, got it. We have duplicate definitions of a couple of intrinsics. e.g.

	<intrinsic name="_mm256_dpbusds_epi32" tech="AVX_ALL">
	<intrinsic name="_mm256_dpbusds_epi32" tech="AVX-512">

So we really need to dedup by the name.

@folkertdev folkertdev force-pushed the forward-percentage branch 4 times, most recently from cbb239c to 678d57e Compare October 27, 2025 00:06
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