Skip to content

Conversation

@cujomalainey
Copy link
Contributor

We need clang support for the testbench therefore the following changes
are needed

remove -ftree-vectorizer-verbose when building with clang

remove =3 from -Wimplicit-fallthrough=3 since 3 is the default level
anyways

Signed-off-by: Curtis Malainey cujomalainey@chromium.org

@cujomalainey
Copy link
Contributor Author

related to #3388

Copy link
Collaborator

@marc-hb marc-hb left a comment

Choose a reason for hiding this comment

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

I spent some time researching this (sorry for the delay) and I think we can do much simpler: simply remove -ftree-vectorizer-verbose=0 entirely. Why? Two reasons:

@ranj063 do you remember why you added -ftree-vectorizer-verbose=0 in commit 0505823 ? It wasn't in this git repo before that commit.

@marc-hb
Copy link
Collaborator

marc-hb commented Sep 25, 2020

@ranj063 do you remember why you added -ftree-vectorizer-verbose=0 in commit 0505823 ? It wasn't in this git repo before that commit.

@lgirdwood any idea?

@lgirdwood
Copy link
Member

lgirdwood commented Sep 25, 2020

@ranj063 do you remember why you added -ftree-vectorizer-verbose=0 in commit 0505823 ? It wasn't in this git repo before that commit.

@lgirdwood any idea?

To build the processing components and vectorise for SSE SIMD on x86, can be safely removed now as GCC does this differently now as detailed above.

@marc-hb
Copy link
Collaborator

marc-hb commented Sep 25, 2020

To build the processing components and vectorise for SSE SIMD on x86,

This particular option did not change anything to what was built, it only made sure verbosity was zero (which was very likely the default already)

can be safely removed now as GCC does this differently now as detailed above.

Great.

@cujomalainey
Copy link
Contributor Author

I have no clue what happened. I pushed the branch from a different machine and the PR is closed. My only guess is it forced it closed because this commit wasn't signed by gpg. I will amend the commit later today and repush to fix this (hopefully)

@cujomalainey cujomalainey reopened this Sep 25, 2020
@cujomalainey
Copy link
Contributor Author

nevermind, I think i pushed the wrong thing

We need clang support for the testbench therefore the following changes
are needed

remove -ftree-vectorizer-verbose since its deprecated in gcc and not
supported in clang

remove =3 from -Wimplicit-fallthrough=3 since 3 is the default level
anyways

Signed-off-by: Curtis Malainey <cujomalainey@chromium.org>
@lgirdwood
Copy link
Member

CI showing DUT HW not tested failure unrelated to PR.

@lgirdwood lgirdwood merged commit fd398c9 into thesofproject:master Sep 28, 2020
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