Addendum: According to https://gcc.gnu.org/onlinedocs/gcc/x86-Options.html, "-march=nehalem" or "-march=sandybridge" should do the trick. Both do not have RDRND instruction set support, as René already noted.
Cheers, Rainer On Tue, Jul 21, 2020 at 6:50 AM Rainer Wiesenfarth < [email protected]> wrote: > Sorry for jumping into your discussion, but I think you are talking about > different topics. > > René would like to know how to set "march" when he *compiles code on* the > Celeron (N3150) that should *run on* the (probably first generation) Core > i7 mobile. > > Thiago says that "march=native" produces code that is guaranteed to run on > the *same architecture.* > > My guess would be that René has to set "march" to what the i7 supports, > using sde64 searching for Nehalem or - eventually - Sandy Bridge. As I am > on AMD and Windows, it might be Thiago's part to provide the sde64 > information... :-) > > Cheers, Rainer > > -- > Software Engineer | Trimble Imaging Division > Rotebühlstraße 81 | 70178 Stuttgart | Germany > Office +49 711 22881 0 | Fax +49 711 22881 11 > http://www.trimble.com/imaging/ | http://www.inpho.de/ > > Trimble Germany GmbH, Am Prime Parc 11, 65479 Raunheim > Eingetragen beim Amtsgericht Darmstadt unter HRB 83893, > Geschäftsführer: Rob Reeder, Jürgen Kesper > -- Software Engineer | Trimble Imaging Division Rotebühlstraße 81 | 70178 Stuttgart | Germany Office +49 711 22881 0 | Fax +49 711 22881 11 http://www.trimble.com/imaging/ | http://www.inpho.de/ Trimble Germany GmbH, Am Prime Parc 11, 65479 Raunheim Eingetragen beim Amtsgericht Darmstadt unter HRB 83893, Geschäftsführer: Rob Reeder, Jürgen Kesper
_______________________________________________ Interest mailing list [email protected] https://lists.qt-project.org/listinfo/interest
