This is an archive of the discontinued LLVM Phabricator instance.

add support for Elbrus 2000 (e2k)
Needs ReviewPublic

Authored by SSE4 on Feb 3 2021, 4:53 AM.

Details

Reviewers
chandlerc
Summary

original patch from:
https://bugs.llvm.org/show_bug.cgi?id=42828
https://lists.gnu.org/archive/html/config-patches/2015-03/msg00000.html

fixes only build for e2k, it doesn't include support for e2k backend

  • update config.guess to include e2k-linux
  • fix "#error You need to define CycleTimer for your OS and CPU" for e2k
  • update root CMakeLists.txt to recognize e2k architecture
  • compiler flag "-fdiagnostics-color" is not supported by MCST LCC compiler, add flag only if supported
  • attribute "[[clang::warn_unused_result]]" is incorrectly reported as supported by MCST LCC compiler

Diff Detail

Event Timeline

SSE4 created this revision.Feb 3 2021, 4:53 AM
SSE4 requested review of this revision.Feb 3 2021, 4:53 AM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 3 2021, 4:53 AM
SSE4 changed the visibility from "Public (No Login Required)" to "No One".Feb 3 2021, 4:55 AM
SSE4 changed the edit policy from "All Users" to "No One".
SSE4 updated this revision to Diff 321068.Feb 3 2021, 5:17 AM

add support for Elbrus 2000 (e2k)

SSE4 retitled this revision from - fix "#error You need to define CycleTimer for your OS and CPU" for e2k to add support for Elbrus 2000 (e2k).Feb 3 2021, 5:19 AM
SSE4 edited the summary of this revision. (Show Details)Feb 3 2021, 5:23 AM
SSE4 changed the visibility from "No One" to "Public (No Login Required)".
SSE4 changed the edit policy from "No One" to "Administrators".
lebedev.ri added a comment.EditedFeb 12 2021, 11:34 PM

Please can you submit llvm/utils/benchmark/ changes upstream first?

SSE4 added a comment.Feb 14 2021, 6:05 AM

Please can you submit llvm/utils/benchmark/ changes upstream first?

submitted: https://github.com/google/benchmark/pull/1091

@SSE4 please abandon this review (also, i can't even remove myself as reviewer since you disabled editing here)

Herald added a project: Restricted Project. · View Herald TranscriptJan 12 2023, 5:20 PM
Herald added a subscriber: StephenFan. · View Herald Transcript
tstellar changed the edit policy from "Administrators" to "All Users".Jan 12 2023, 5:34 PM