为GCC添加CPU参数优化代码编译
本站文章已轉移,敬請移步:http://www.xxb.me/ ,謝謝!
今天有空小小地研究了一下。
首先查看GCC版本
$ gcc --version
然后查看CPU型号
$ cat /proc/cpuinfo
接下来就可以针对CPU型号使用优化参数了,点击这里查看适合对应CPU型号的参数。
我的CPU是闪龙64(Sempron64 754),工作于32位系统,所以我使用了这个参数:
$ CHOST="i686-pc-linux-gnu" \
CFLAGS="-march=k8 -msse3 -O2 -pipe -fomit-frame-pointer" \
CXXFLAGS="${CFLAGS}" \
./configure ……
CFLAGS="-march=k8 -msse3 -O2 -pipe -fomit-frame-pointer" \
CXXFLAGS="${CFLAGS}" \
./configure ……
我照搬Gentoo wiki上的指南,暂时没发现什么问题。
因为在使用ArchLinux,所以我编辑/etc/makepkg.conf,把参数添加进去了^_^
- 版权所有,转载请遵循“署名-非商业用途-保持一致”创作共用协议。
Apr 29, 2020 03:47:27 PM
Write more, thats all I have to say. Literally, it seems as though you relied on the video to make your point. You obviously know what youre talking about, why throw away your intelligence on just posting videos to your site when you could be giving us something enlightening to read?
May 04, 2020 05:53:03 PM
you provided me the correct information I really bookmark it,for further reading,So thanks for sharing the information.
May 07, 2020 06:15:36 PM
I randomly browse blogs on the internet, and that i discover your article to be very informational. I have already bookmark it on my browser, in order that I can read your blog publish once more later. Additionally, i am wondering whether or not or not your weblog is open for link exchange, as i actually need to trade links with you. I don’t normally do that, but I hope that we are going to have a mutual hyperlink exchange. Let me know and have an ideal day!
May 15, 2020 01:50:02 AM
I’m curious to find out what blog platform you have been utilizing? I’m having some minor security problems with my latest site and I would like to find something more risk-free. Do you have any suggestions?
May 18, 2020 09:40:38 AM
Cmoe on. Fnots dnot laed the eeys, eevrynoe konws taht poelpe raed trhuhog a pocrses faxtitnig pirmraliy on frsit and lsat ltertrs cmoibend wtih an orevlal vsiaul txet ipmerisson.
May 22, 2020 11:01:22 AM
Thanks for all of your work on this blog. My mother really loves managing investigations and it’s really obvious why. A lot of people know all of the compelling method you create very important strategies on this web blog and as well recommend response from visitors on the matter so my daughter is now studying so much. Take pleasure in the rest of the new year. Your carrying out a fantastic job.
Jun 04, 2020 03:03:26 PM
The Jovell by Hong Leong. Hotline 61009266. New Launch Condo @ Floral Drive. Get Discounts, Direct Developer Price, Brochure, Floor Plan, Price List & More.
Jun 04, 2020 03:35:16 PM
Leedon Green by Yanlord & MCL. Hotline 61009266. Get Discounts, Direct Developer Price, Brochure, Floor Plan, Price List & More. Former Tulip Garden at Farrer.
Jun 04, 2020 04:14:05 PM
The M by Wing Tai. Hotline 61009266. Get Discounts, Direct Developer Price, Brochure, Floor Plan, Price List and More.
Jun 04, 2020 04:40:52 PM
The Avenir by GuocoLand. Hotline 61009266. Get Discounts, Direct Developer Price, Brochure, Floor Plan, Price List & More. Former Pacific Mansion at River Valley
Jun 08, 2020 08:33:15 PM
I’d forever want to be update on new articles on this site, bookmarked ! . adam and eve
Jun 10, 2020 05:57:57 PM
Hyll on Holland by FEC. Hotline 61009266. Get Discounts, Direct Developer Price, Brochure, Floor Plan, Price List and More. Former Hollandia & Estoril Singapore Hyll on Holland
Jun 10, 2020 05:58:20 PM
Penrose by CDL & Hong Leong. Hotline 61009266. Get Discounts, Direct Developer Price, Brochure, Floor Plan, Price List and More. Penrose Condo @ Sims Drive Penrose Condo price
Jun 10, 2020 05:58:34 PM
Ki Residences by CDL & Hoi Hup & Sunway. Hotline 61009266. Get Discounts, Direct Developer Price, Brochure, Floor Plan, Price List and More. Ki Residences @ Sunset Way. Ki Residences showflat
Jun 10, 2020 05:58:45 PM
Forett At Bukit Timah by QingJian. Hotline 61009266. Get Discounts, Direct Developer Price, Brochure, Floor Plan, Price List and More. Former GoodLuck Garden. Forett At Bukit Timah showflat
Jun 10, 2020 05:59:07 PM
Noma by Macly Group. Hotline 61009266. Get Discounts, Direct Developer Price, Brochure, Floor Plan, Price List & More. Upcoming Freehold new launch at Guillemard. Noma price
Jun 10, 2020 05:59:36 PM
Myra Condo by Selangor Dredging Berhad. Hotline 61009266. Get Discounts, Direct Developer Price, Brochure, Floor Plan, Price List. Upcoming new launch at Potong Pasir Myra showroom
Jun 10, 2020 05:59:55 PM
Phoenix Residences (Former Phoenix Heights) by OKP Holdings Limited. Hotline 61009266. Get Discounts, Direct Developer Price, Brochure, Floor Plan, Price List & More. Phoenix Residences
Jun 10, 2020 06:00:21 PM
Pasir Ris Central Residences by Allgreen. Hotline 61009266. Get Discounts, Direct Developer Price, Floor Plan, Price List, EBrochure and More. New Launch Condo at Pasir Ris Central in Singapore. Pasir Ris Central Residences
Jun 10, 2020 06:00:40 PM
Clavon at Clementi by UOL & UIC. Hotline 61009266. Get Discounts, Direct Developer Price, Floor Plan, Price List & Brochure . New Launch Condo at Clementi in Singapore. Clavon Showflat
Jun 10, 2020 06:01:22 PM
The Landmark by ZACD, MCC Land & SSLE. Hotline 61009266. Get Discounts, Direct Developer Price, Brochure, Floor Plan, Price List & More. Former Landmark Tower. The Landmark Showflat
Jun 18, 2020 02:18:41 PM
A payment processing module can be integrated into any business management software be creating a button that links to the processing module. By clicking on the "payment processing" button, users will be able to collect on any individual invoice. By selecting a recurring billing option from the menu, they will be able to process all recurring transactions queued in the system. By using the payment processing system's API, the core business application can be mapped to the payment processing component for completely seamless integration.. high risk merchants credit card processing
Jun 18, 2020 09:50:33 PM
If you want to search for backlinks, I recommend you check you the tools I've mentioned and scour the discussion forums that related to your product or website. There are thousands of backlink possibilities, and I've seen some backlinks send more traffic than a good Google ranked page. Remember the key when you search for backlinks is to link with relevant and related websites - you don't want just any traffic, you want 'qualified' traffic.. buy some backlinks
Jun 19, 2020 08:25:05 PM
Some luxury yachts are used exclusively by their owners and guests, others are operated all year round as charter businesses by boat owning businesses, also a large number are privately owned but available for charter when the owner is not using it. Charter rates vary tremendously from a an eighty foot boat with two crew to a mega yacht with twenty crew. However one thing is common across all ranges of yachts, the daily charter rate is only the start of your expenses. Extras of approximately 25-30%, such as fuel, drinks, food and berthing fees are additional to the day rate as well as a customary 15-20% crew gratuity for good service. yacht charter in greece
Jun 20, 2020 07:37:20 PM
Hydrogenated oils that are often used as frying or cooking oils should be avoided. These are often used in fast food restaurants to cook french fries. list of good fats
Jun 21, 2020 03:26:07 PM
your blog is very good. It was very well authored and easy to understand. Unlike additional blogs I have read which are really not good. I also found your posts very interesting Hyll on Holland
Jun 22, 2020 02:25:20 PM
I’m impressed, I have to admit. Truly rarely do I encounter a blog that’s both educative and entertaining, and without a doubt, you’ve hit the nail on the head. Your notion is outstanding; the pain is an element that not enough folks are speaking intelligently about. My business is happy that I stumbled across this in my search for something regarding this. Happy Wheels full version
Jun 22, 2020 02:25:32 PM
But let’s not forget the triple-villain team of Aniston, Spacey, and Ferrell, which infused even more humor (and craziness) into the comedy. Translation agency
Jun 22, 2020 02:25:41 PM
This web-site is really a walk-through it really is the data you wanted concerning this and didn’t know who to ask. Glimpse here, and you’ll certainly discover it. cryptocurrency
Jun 22, 2020 02:25:57 PM
There are also many conditions with symptoms similar to appendicitis. But because appendicitis can become serious in a short amount of time, call your ניקוי ספות בד טיפים
Jun 22, 2020 02:26:06 PM
I think you have remarked some very interesting points , thanks for the post. Lightworker
Jun 22, 2020 02:26:15 PM
its great .i ll share it with everyone i know. hotstar offer
Jun 22, 2020 02:26:21 PM
I think your blog is getting more and more visitors.~,.*- detective privado Madrid
Jul 01, 2020 09:07:23 PM
I’m curious to find out what blog system you have been utilizing? I’m experiencing some small security issues with my latest blog and I’d like to find something more safe. Do you have any solutions? trailer rental tallahassee
Jul 21, 2020 05:15:57 PM
depreciation expense Managerial Accounting Aleve Vs Ibuprofen Golo Diet Reviews Manhattan Neighborhoods Pinery Provincial Park Ionic Compound Electronegativity Trend How To Delete Snapchat Rampage Game How To Remove Gel Nails Stores Like Forever 21 best salon shampoo for oily hair defensive positions in football basketball court dimensions climbing roses jane daly sake dean mahomed shane black films blue roan english cocker spaniel daily jokes for adults
Jul 29, 2020 01:41:18 AM
You made some decent points there. I looked on the net for the issue and discovered most people may go as well as with your internet site. pet grooming shop software
Aug 24, 2020 02:41:45 AM
There is noticeably big money to understand this. I suppose you’ve made particular nice points in features also.
Sep 06, 2020 07:01:42 PM
The football clubs sell hundreds and hundreds of football memorabilia items every day to the true fans and make many millions of pounds from these sales; only recently David Beckham's move to LA Galaxy was explained by the volume of memorabilia items that would sell as a result. Not only does football memorabilia generate income for the football teams it can also be used to financially assist the close families of football players who can no longer play the game and as such cannot fully support their wives and families.
Sep 07, 2020 08:23:52 PM
You can see that US government deliberately destroyed the liberty and financial independence of the nation and of the people over the last century.
Sep 17, 2020 07:30:15 PM
Greetings, May I download your page image and make use of it on my own blog site?
Oct 03, 2020 08:09:43 PM
This is my first time i visit here. I found so many entertaining stuff in your blog, especially its discussion. From the tons of comments on your articles, I guess I am not the only one having all the enjoyment here! Keep up the good work.
Oct 07, 2020 01:31:27 AM
I think this is one of the most vital information for me. And i’m glad reading your article. But wanna remark on some general things, The web site style is wonderful, the articles is really nice : D. Good job, cheers
Dec 23, 2020 05:28:15 PM
Aw, this has been an exceptionally good post. In concept I would like to place in writing similar to this moreover – spending time and actual effort to have a really good article… but what can I say… I procrastinate alot and by no means seem to get something completed. medical mask cvs
Dec 24, 2020 06:52:50 PM
Good sports handicappers can spot the inefficiencies with particular games easily and so they can come up with accurate predictions based on solid mathematical and statistical techniques. However, the reason why most people lose is because they do not have discipline and money management skills. In fact a risk free sports betting system would be one in which you are forced to be disciplined with your bets and in which a proper money management system is inbuilt. bet88
Dec 26, 2020 05:39:54 PM
I dont think there is any other system that I could achieve such a success rate with. m88
Dec 30, 2020 09:19:34 PM
In most cases it may not even be a real betting system or a software program at all, just a blatant scam that has the sole purpose of separating you from your money. sbobet
Dec 30, 2020 09:19:37 PM
If you make an initial deposit, the online sportsbook can give you a bonus that can be 20% of your deposit. Also, if you re-deposit, you can be awarded with another bonus. fun120
Jan 10, 2021 06:40:55 AM
If a rookie with little or no playing experience is being thrown into a starting role or a role that forces him to play major minutes, this game is going to be much harder to predict. w88club
Jan 12, 2021 07:48:52 PM
But for team games such as football or baseball, predicting the winning team can be very difficult. bk8vn
Jan 16, 2021 06:43:08 PM
SEO (or search engine optimisation) documents can ensure that your site features at the top of search engines lists. vn88 50k
Jan 16, 2021 11:05:32 PM
with thanks with regard to the particular article i have been on the lookout with regard to this kind of advice on the net for sum time these days and so with thanks Valentine's Day Gift Baskets women
Jan 20, 2021 07:12:38 PM
MSBSHSE Maharashtra Board Government Responsible for Maharashtra State Board of Secondary & Higher Secondary Education (MSBSHSE) is Going to Conducted Higher Secondary Certificate (HSC) /Class 12th Annual Examination Maharashtra std 12th Question Paper 2021 in Month Coming Soon Maha Board 12th Model Question Paper 2021 Revised Time Table for Maha Board 12th Exams Published on Coming Soon List of Eligible Student, you can Practices for Maha Board 12th Model Paper 2021 Revised Guidelines for the you can Download MSBSHSE HSC Question Paper 2021 for College and University Students.
Feb 20, 2021 11:27:35 PM
When I originally commented I clicked the -Notify me when new surveys are added- checkbox and already every time a comment is added I buy four emails with the same comment. Perhaps there is that is you possibly can eliminate me from that service? Thanks! employee scheduling software
Feb 28, 2021 05:11:25 AM
Every hard technique (karate and Hwa Rang Do) is done to support and set up the soft techniques (Jujitsu). bk8vn
Mar 07, 2021 08:40:31 PM
To entice new customers many websites offer promotions like cash back, betting vouchers, free bets etc. sv388
Mar 09, 2021 10:42:51 PM
That means, you can pay $150 to win $100 if you bet on a favorite and you can win, say, $180 with a $100 bet on an underdog. fb88
Mar 09, 2021 10:42:55 PM
Indulging in sports betting can be puzzling for a lot of people, in view of the fact that sports books have their own styles of betting. sbotop
May 25, 2021 11:52:01 PM
very nice submit, i definitely love this web site, keep on it
Aug 24, 2021 08:28:16 PM
i always look for golf courses with well-maintained lawn and golf courses with very clean recreational area,, room scheduling software free
Sep 09, 2021 08:52:58 PM
A lot strong points that you have made listed here, although I don’t go along them all they are legitimate. zellige
Sep 26, 2021 10:27:20 PM
Peak Residence by Tuan Sing & Rich Capital . Hotline 61009266. Get Discounts, Direct Developer Price, Brochure, Floor Plan, Price List & More. (Former Peak Court) Peak Residence Showroom
Oct 07, 2021 09:15:34 PM
I dont agree with all of the points made but still a good read cheers. Urban Treasures
Nov 12, 2021 10:12:13 PM
we always choose home interiors with bright colors because the mood is uplifting; downtown miami jewelry stores
Nov 17, 2021 11:32:08 PM
The travel addict inside you is craving for new adventure? Things to do post will suggest you the new destination for your next journey with all the best spots around the world.
Dec 07, 2021 07:40:15 PM
Aw, i thought this was a really nice post. In concept I must place in writing such as this additionally – taking time and actual effort to make a great article… but what things can I say… I procrastinate alot and also by no indicates seem to go carried out. marijuana dispensary delivery
Jul 28, 2022 02:57:17 AM
Instead, you will see "sponsored links" or "external sites" at the bottom of the page. If you use these links to connect to other web pages, you will be charged a fee for each connection and, depending on the site, could face serious consequences.
Jul 28, 2022 03:15:27 AM
You can still see the sites linked to this IP address, but they will not know you're using a proxy server or a Tor proxy.
Jul 28, 2022 03:27:40 AM
The dark web is an untapped resource, where you can make money through the use of link farms and other trickery. However, it may not be as easy for you to earn money on the dark web as you think.
Jul 28, 2022 03:35:57 AM
You can make some legitimate money by creating and circulating links on the web. If you can make some serious traffic, then you can make some serious cash.
Jul 28, 2022 03:53:37 AM
You can also make money by posting ads on other blogs or websites. However, this isn't really an effective method because most of the time, these ads will be automatically removed from the server.
Jul 28, 2022 04:06:01 AM
But if you truly want to be successful online, then you absolutely must master this aspect of your business. Master it well and you will have no trouble selling on the internet.
Jul 28, 2022 04:12:53 AM
In order to learn how to success-affiliate marketing, you need to get all the information possible about successful affiliate marketers. This can be done through numerous different ways.
Dec 17, 2022 10:12:40 PM
FSSAI identified the necessity for an overhaul, which resulted in the creation of a new application called the Food Safety and Compliance System (FoSCoS). During the implementation of FoSCoS, foscos certificate download the effort was made to ensure that the majority of its functionality and process flows are as similar to the FLRS program as practicable, while simultaneously making it more user delightful and optimizing its system performance.
Jan 30, 2023 05:03:35 PM
The ORNL Bank does give easy access to the customer to utilize their different features through online banking. The dedicated website forms the ORNL Bank can use by a customer who does have an account with the bank. ORNL Online Banking Online banking is available to every customer irrespective of their account type, the customers asked to get enroll ORNL online banking page with their account details if they wish to enjoy the online ORNL federal credit union services.