mersenneforum.org  

Go Back   mersenneforum.org > Great Internet Mersenne Prime Search > Hardware

Reply
 
Thread Tools
Old 2017-06-04, 20:46   #1
ET_
Banned
 
ET_'s Avatar
 
"Luigi"
Aug 2002
Team Italia

61×79 Posts
Default Question about my CPU

I know it looks lazy from me, but I trust your knowledge much more than any other bit of information on the Net.

The Fact:
-------------
From the computer info panel of my Linux 16.04 LTS, it looks like I have a
Processor : Intel Pentium CPU G2030 @ 3.00 x 2
Graphic : Intel IvyBridge Desktop

From ark.intel.com it looks like a "Products formerly IvyBridge".

The Issue:
-------------
I can use neither -march=SandyBridge, -mtune=SandyBridge nor -march=IvyBridge, -mtune IvyBridge not even -mavx switches in GCC 5.4.0-6
as it ends up with an "illegal instruction" error and core dump.

The Question:
------------------
Is the Intel G2030 a real or crippled Ivy Bridge?

Last fiddled with by ET_ on 2017-06-04 at 20:47
ET_ is offline   Reply With Quote
Old 2017-06-04, 20:57   #2
R. Gerbicz
 
R. Gerbicz's Avatar
 
"Robert Gerbicz"
Oct 2005
Hungary

2·743 Posts
Default

Quote:
Originally Posted by ET_ View Post
I can use neither -march=SandyBridge, -mtune=SandyBridge nor -march=IvyBridge, -mtune IvyBridge not even -mavx switches in GCC 5.4.0-6
That should be in lowercase: try -march=ivybridge or -march=sandybridge etc.
(that gcc is not very old so it should know these type of cpu).
R. Gerbicz is online now   Reply With Quote
Old 2017-06-04, 21:18   #3
ATH
Einyen
 
ATH's Avatar
 
Dec 2003
Denmark

2×1,579 Posts
Default

It is an Ivy Bridge according to these lists and charts:
https://en.wikipedia.org/wiki/List_o...essors#Pentium
https://en.wikipedia.org/wiki/Ivy_Br...top_processors

Can you run a Windows emulator in Linux? Then you can try CPU-Z, it is just a zip file to extract no installation. It can tell you the family and also which instructions are supported (AVX/AVX2/FMA3 etc):
http://www.cpuid.com/softwares/cpu-z.html

Last fiddled with by ATH on 2017-06-04 at 21:18
ATH is offline   Reply With Quote
Old 2017-06-04, 22:47   #4
sdbardwick
 
sdbardwick's Avatar
 
Aug 2002
North San Diego County

5×137 Posts
Default

Pentium series are semi-crippled. Notably, they do not support AVX; SSE 4.1/4.2 only.
sdbardwick is offline   Reply With Quote
Old 2017-06-05, 10:02   #5
VictordeHolland
 
VictordeHolland's Avatar
 
"Victor de Hollander"
Aug 2011
the Netherlands

23·3·72 Posts
Default

Celeron and Pentium don't support AVX and other fancy new features, to differentiate them from Core i3.

You might be able to use these to tell the compiler which features the processor has (or hasn't in this case)
-msse
-msse2
-msse3
-mssse3
-msse4.1
-msse4.2
-mno-avx (to tell the compiler to not use AVX)

Last fiddled with by VictordeHolland on 2017-06-05 at 10:03
VictordeHolland is offline   Reply With Quote
Old 2017-06-05, 10:52   #6
ET_
Banned
 
ET_'s Avatar
 
"Luigi"
Aug 2002
Team Italia

61·79 Posts
Default

Thank you guys for the quick answers

@ATH: I tried both ways just to be sure, and no one worked.

I assume I should be content wirh SSE 4.2 . Oh, well...
ET_ is offline   Reply With Quote
Reply

Thread Tools


All times are UTC. The time now is 23:26.


Fri Aug 6 23:26:57 UTC 2021 up 14 days, 17:55, 1 user, load averages: 3.71, 4.01, 4.03

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.

This forum has received and complied with 0 (zero) government requests for information.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.
A copy of the license is included in the FAQ.