Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6380977
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T02:20:11+00:00 2026-05-25T02:20:11+00:00

I am using Automatic Vectorization of compiler to generate the vectorized Code. For. e.g.

  • 0
I am using Automatic Vectorization of compiler to generate the vectorized Code.
For. e.g.  
    for (i = 0; i < 20; i++)  
    {  
        A[i] = i;  
    }  
    for (i = 0; i < 20; i++)  
    {  
        A[i] = A[i] + 5;  
    }

For the above code I am getting assembly code as below ? Is it vectorized or not ?
-------------------------------------------------------------------  
8048380:    55                      push   %ebp  
 8048381:   89 e5                   mov    %esp,%ebp  
 8048383:   56                      push   %esi  
 8048384:   83 ec 64                sub    $0x64,%esp  
 8048387:   c7 45 ac 05 00 00 00    movl   $0x5,-0x54(%ebp)  
 804838e:   c7 45 b0 06 00 00 00    movl   $0x6,-0x50(%ebp)  
 8048395:   c7 45 b4 07 00 00 00    movl   $0x7,-0x4c(%ebp)  
 804839c:   c7 45 b8 08 00 00 00    movl   $0x8,-0x48(%ebp)  
 80483a3:   c7 45 bc 09 00 00 00    movl   $0x9,-0x44(%ebp)  
 80483aa:   c7 45 c0 0a 00 00 00    movl   $0xa,-0x40(%ebp)  
 80483b1:   c7 45 c4 0b 00 00 00    movl   $0xb,-0x3c(%ebp)  
 80483b8:   c7 45 c8 0c 00 00 00    movl   $0xc,-0x38(%ebp)  
 80483bf:   c7 45 cc 0d 00 00 00    movl   $0xd,-0x34(%ebp)  
 80483c6:   c7 45 d0 0e 00 00 00    movl   $0xe,-0x30(%ebp)  
 80483cd:   c7 45 d4 0f 00 00 00    movl   $0xf,-0x2c(%ebp)  
 80483d4:   c7 45 d8 10 00 00 00    movl   $0x10,-0x28(%ebp)  
 80483db:   c7 45 dc 11 00 00 00    movl   $0x11,-0x24(%ebp)  
 80483e2:   c7 45 e0 12 00 00 00    movl   $0x12,-0x20(%ebp)  
 80483e9:   c7 45 e4 13 00 00 00    movl   $0x13,-0x1c(%ebp)  
 80483f0:   c7 45 e8 14 00 00 00    movl   $0x14,-0x18(%ebp)  
 80483f7:   c7 45 ec 15 00 00 00    movl   $0x15,-0x14(%ebp)  
 80483fe:   c7 45 f0 16 00 00 00    movl   $0x16,-0x10(%ebp)  
 8048405:   c7 45 f4 17 00 00 00    movl   $0x17,-0xc(%ebp)  
 804840c:   c7 45 f8 18 00 00 00    movl   $0x18,-0x8(%ebp)  
-----------------------------------------------------------------------  
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T02:20:12+00:00Added an answer on May 25, 2026 at 2:20 am

    It is not vectorized.

    It is however unrolled, and your first loop is removed.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

If I define a struct in C# using automatic properties like this: public struct
I am using the standard .Net 2.0 DataGridView with sort mode of automatic on
I'm using SQLAlchemy 0.5rc, and I'd like to add an automatic filter to a
According to my book all that is needed to start using automatic paging is
I have a xml file which I want to edit using automatic data binding
Is there significant cpu/memory overhead associated with using automatic arrays with g++/Intel on 64-bit
As described in this article , I am using automatic associations in fixtures. For
I'm using automatic conversion from wsdl to c#, everything works apart from encoding, whenever
I recently started a new project using Automatic Reference Counting (ARC). When I assigned
Looking at the release notes of OS 10.7, there's some stuff about using Automatic

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.