X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=lib%2FTarget%2FCellSPU%2FSPUSubtarget.h;h=b6a34099b2f7df832ba6dc2b1e3dc7ccebf551dc;hb=baeb911d60401818dc9fe0db6182cd048e4fdd03;hp=59196faac5c59e726059d059c357c6def3d7ac05;hpb=4ee451de366474b9c228b4e5fa573795a715216d;p=oota-llvm.git diff --git a/lib/Target/CellSPU/SPUSubtarget.h b/lib/Target/CellSPU/SPUSubtarget.h index 59196faac5c..b6a34099b2f 100644 --- a/lib/Target/CellSPU/SPUSubtarget.h +++ b/lib/Target/CellSPU/SPUSubtarget.h @@ -26,6 +26,7 @@ namespace llvm { namespace SPU { enum { + PROC_NONE, DEFAULT_PROC }; } @@ -58,8 +59,9 @@ namespace llvm { /// ParseSubtargetFeatures - Parses features string setting specified /// subtarget options. Definition of function is auto generated by tblgen. - void ParseSubtargetFeatures(const std::string &FS, const std::string &CPU); - + std::string ParseSubtargetFeatures(const std::string &FS, + const std::string &CPU); + /// SetJITMode - This is called to inform the subtarget info that we are /// producing code for the JIT. void SetJITMode(); @@ -84,7 +86,7 @@ namespace llvm { /// properties of this subtarget. const char *getTargetDataString() const { return "E-p:32:32:128-f64:64:128-f32:32:128-i64:32:128-i32:32:128" - "-i16:16:128-i8:8:128-i1:8:128-a:0:128-v128:128:128" + "-i16:16:128-i8:8:128-i1:8:128-a:0:128-v64:128:128-v128:128:128" "-s:128:128"; } };