![](http://investorshub.advfn.com/images/default_ih_profile2_4848.jpg?cb=0)
Tuesday, November 02, 2004 12:25:17 PM
In the assembler code of the rc4 the main loop has the label .Lstart
The top of this loop must be aligned on a natural boundary, preferably on a cache line boundary - 32 bytes. There should be an ALIGN directive. Note that the whole function is aligned at 16 bytes, this is pointless as far as I can see (compared to the main loop that is executed hundreds of times).
If the top of the loop is not aligned this will interfere with decoding and may reduce cache efficiency. The final stage of any really time-critical code is seeing where the code boundaries are.
Unless the code is specified to be on a certain boundary you have no idea where it will locate so the first run may be really, really fast then the second run slows right down. This is so common when code is being tested, the addition of a single, seemingly inconsequential, instruction can make or break the runtime. Often its the debug instructions themselves and when they are taken out the code is nowhere near as fast!
Recent AMD News
- Futures Pointing To Continued Strength On Wall Street • IH Market News • 08/01/2024 01:07:37 PM
- U.S. Stocks Rally On Upbeat Earnings News, Rate Cut Optimism • IH Market News • 07/31/2024 08:44:24 PM
- Form 10-Q - Quarterly report [Sections 13 or 15(d)] • Edgar (US Regulatory) • 07/31/2024 08:20:22 PM
- Upbeat Earnings News May Spark Early Rally On Wall Street • IH Market News • 07/31/2024 01:07:54 PM
- AMD Shares Surge 9% on Earnings Beat; Match Group Rises 10%, Pinterest & Lemonade Drop 13%, and More Earnings Updates • IH Market News • 07/31/2024 09:59:10 AM
- Nasdaq Moves Sharply Lower As Tech Stocks Slump But Dow Moves Higher • IH Market News • 07/30/2024 08:53:52 PM
- Form 8-K - Current report • Edgar (US Regulatory) • 07/30/2024 08:17:15 PM
- AMD Reports Second Quarter 2024 Financial Results • GlobeNewswire Inc. • 07/30/2024 08:15:48 PM
- Futures Pointing To Another Lackluster Session On Wall Street • IH Market News • 07/30/2024 01:23:43 PM
- U.S. Futures Climb Before Fed Meeting; Oil Prices Drop on China Demand Worries • IH Market News • 07/30/2024 10:06:14 AM
- F5 Shares Rise 15%; Diageo Falls 10% on Annual Sales Decline; BP Boosts Dividend and Buyback Program • IH Market News • 07/30/2024 10:03:59 AM
- Johnson Controls Division Sold for $8 Billion; Alphabet’s Offer Rejected by Wiz; AMD President Announces Retirement • IH Market News • 07/23/2024 10:00:52 AM
- Form 8-K - Current report • Edgar (US Regulatory) • 07/22/2024 08:13:32 PM
- AMD President Victor Peng to Retire • GlobeNewswire Inc. • 07/22/2024 08:10:00 PM
- Nasdaq Tech Stocks Show Partial Recovery; Oil Prices Rise • IH Market News • 07/18/2024 10:01:11 AM
- Form 4 - Statement of changes in beneficial ownership of securities • Edgar (US Regulatory) • 07/17/2024 08:07:35 PM
- AMD to Report Fiscal Second Quarter 2024 Financial Results • GlobeNewswire Inc. • 07/16/2024 08:15:00 PM
- Form 4 - Statement of changes in beneficial ownership of securities • Edgar (US Regulatory) • 07/16/2024 08:13:20 PM
- Form 144 - Report of proposed sale of securities • Edgar (US Regulatory) • 07/15/2024 08:05:20 PM
- Costco Hikes Membership Fees; ON Semiconductor Stock Drops 3%; WD-40 Soars 13% on Strong Q3 Earnings • IH Market News • 07/11/2024 10:17:26 AM
- AMD to Acquire Silo AI to Expand Enterprise AI Solutions Globally • GlobeNewswire Inc. • 07/10/2024 01:05:00 PM
- U.S. Stock Futures Rise Amid Focus on Fed Chairman Powell’s Speech, Oil Prices Fall • IH Market News • 07/09/2024 10:56:09 AM
- U.S. Stocks Close On Mixed Note; Nasdaq, S&P Hit Record Closing Highs • IH Market News • 07/08/2024 08:48:15 PM
- U.S. Index Futures Modestly Higher Before Key Economic Data Release; Early Closure for July 4th Holiday • IH Market News • 07/03/2024 11:01:33 AM
- Major Averages Close On Firm Note As Stocks Rally After Early Struggle • IH Market News • 07/02/2024 08:44:00 PM
Kona Gold Beverages, Inc. Announces Strategic Initiatives and Corporate Direction Changes • KGKG • Aug 2, 2024 2:00 PM
POET and Luxshare Tech Expand Product Offerings for Artificial Intelligence Networks • POET • Aug 1, 2024 9:28 AM
Management Discusses Financial Filings of Global Arena Holding Inc., for 10-K 2023 and 10-Q, 1st Quarter 2024 • GAHC • Aug 1, 2024 9:14 AM
VAYK Announces LOI to Acquire $1 Million Home Service Company to Support Airbnb Business • VAYK • Aug 1, 2024 9:00 AM
Duane Forrester Joins INDEXR as SVP of Search • MONI • Jul 31, 2024 11:46 AM
Lingerie Fighting Championships Help Fulfill Death-Bed Promise With First Major Motion Picture • BOTY • Jul 31, 2024 9:00 AM