diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2013-02-26 10:14:03 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2013-02-26 10:14:23 +0000 |
commit | 1068bf7024d8a6650de020e95efdedcbfd7d3c5e (patch) | |
tree | 24798fa94eb8a0fcbfb175e644359d72b80dc707 /src/sna | |
parent | 27c71027b1d76979460ef15bba8e8671e3286a24 (diff) |
sna: Mention if compiled as 64bit as part of the CPU feature detection
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/sna')
-rw-r--r-- | src/sna/sna_cpu.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/sna/sna_cpu.c b/src/sna/sna_cpu.c index 4dc1144f..91104569 100644 --- a/src/sna/sna_cpu.c +++ b/src/sna/sna_cpu.c @@ -91,6 +91,10 @@ char *sna_cpu_features_to_string(unsigned features, char *line) { char *ret = line; +#ifdef __x86_64__ + line += sprintf (line, ", x86-64"); +#endif + if (features & SSE2) line += sprintf (line, ", sse2"); if (features & SSE3) |