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

  • Home
  • SEARCH
  • 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 7930227
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T20:21:22+00:00 2026-06-03T20:21:22+00:00

I have a code base which compiles fine in all other NEON compilers, ndk-build,

  • 0

I have a code base which compiles fine in all other NEON compilers, ndk-build, RVDS, etc, but under Xcode I get the error “bad instruction” for every NEON instruction I call. It basically seems like NEON is not detected.

I am attempting to build a static library, I went to New Project, selected Cocoa Touch Static Library, then added my existing files.

Everything I’m reading indicates that NEON should be already enabled. I removed all references to armv6, and am targeting iOS 5.1

Also the code in question is all contained as routines defined in “.s” files — pure assembly. I am not using the intrinsics method calls.

It seems like the compiler is barfing on the whole file…

Unknown pseudo-op: .cpu

It lists all of the other settings, like .fpu, etc

Here are my current settings:

Basic Compiler
(source: wasteonline.net)

LLVM Code Gen
(source: wasteonline.net)

LLVM Language
(source: wasteonline.net)

  • 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-06-03T20:21:23+00:00Added an answer on June 3, 2026 at 8:21 pm

    After the as tool I mentioned in my last answer turned out to be choking on my syntax as well, I realized there must be something else going on.

    I followed the guidelines on the bottom of this post http://www.shervinemami.info/armAssembly.html#template

    The changes I needed to make were:

    1. converted my instructions to all lower case
    2. use the naming directives to be compatible with mach-o (solved linker problems)
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a code base, in which for Matrix class, these two definitions are
I have an existing code base that is not packaged at all. The code
I have a custom command definition in my project which compiles fine. When I
This code compiles but looks very strange. I have a typical and simple parent/child
I have a code base that has been used as an ASP.Net web application.
I have a code-base that I'm looking to split up and add to by
I have a code base I want to use for both an ASP.NET MVC
I have a code base that deals with simulation of certain data. It involves
is there any development environments that allow you to have one code base that
I have a small code base using Subsonic 2.1 in my project. I would

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.