[PATCH] [2/2] Adding front-end options and macros for TBM instruction set

Craig Topper craig.topper at gmail.com
Mon Sep 23 22:57:38 PDT 2013

  This test case didn't really prove anything

  // RUN: %clang -target i386-unknown-unknown -march=bdver2 -mtbm -x c -E -dM -o - %s | FileCheck --check-prefix=TBM %s

  // TBM: #define __TBM__ 1

  -march=bdver2 already implies -mtbm

  A better test case would be to show that -mtbm enables __TBM__ for a processor that isn't defined as supporting tbm like bdver1 or any Intel processor.

  Other than that everything looks good.


More information about the cfe-commits mailing list