This is an archive of the discontinued LLVM Phabricator instance.

Add C intrinsics for Intel SHA Extensions
ClosedPublic

Authored by benlangmuir on Sep 18 2013, 5:06 AM.

Details

Summary

This patch adds C intrinsics for the Intel SHA Extensions.

Diff Detail

Event Timeline

echristo accepted this revision.Sep 18 2013, 1:40 PM

LGTM.

craig.topper requested changes to this revision.Sep 18 2013, 5:11 PM

Need to enable sse2 feature if -msha is specified. This is currently being done for aes/pclmul.

Also need to disable sha if -mno-sse2 is specified. I just fixed this for aes/pclmul. They were broken in a recent refactoring.

benlangmuir updated this revision to Unknown Object (????).Sep 18 2013, 8:36 PM

Make feature 'sha' depend on sse2, and disable sha when disabling sse2.

echristo accepted this revision.Sep 18 2013, 11:01 PM

Craig is good enough, but if you'd like my stamp then here it is :)

benlangmuir closed this revision.Sep 19 2013, 6:48 AM

Committed as r190999.