• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Need help getting NEON 64 to compile
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Need help getting NEON 64 to compile


  • Subject: Need help getting NEON 64 to compile
  • From: David Hoerl <email@hidden>
  • Date: Sun, 02 Nov 2014 17:51:59 -0500

I have an open source iOS project that depends on libjpeg-turbo, and getting worried as that jpeg library has not been able to get their NEON 64 code to build. Historically, the NEON code that is used on other OS's has had to be processed by the gas-preprocessor.pl asm preprocessor, to modify to be compileable by Apple's assembler.

The 32 bit code has been working great, but its been a long haul with the 64 bit code. A new version of the gas preprocessor appeared to solve many problems:

https://raw.githubusercontent.com/libav/gas-preprocessor/master/gas-preprocessor.pl

However, there are still huge number of errors on the compile (6.1 official). I have reduced those down to 10 different errors - here are the first three:

1)

.text
.balign 16
jsimd_idct_islow_neon_consts:
    .short (7373)
    .short (4433)
...
    adr x15, jsimd_idct_islow_neon_consts

error: unqualified, assembler-local label name expected
    adr x15, jsimd_idct_islow_neon_consts
             ^
2) Would it work to replace '-' with ',' as suggested???

 error: ',' expected
    st1 {v0.8b - v3.8b}, [sp], 32
               ^

3)

error: invalid operand for instruction
    ins v16.2d[1], v17.2d[0]
        ^

I've uploaded 3 files to dropbox at https://www.dropbox.com/sh/nvl9mjujy00e0qd/AADQUxI0cKs9BKs4patjh-Lma?dl=0
  ERR.txt - the 10 errors
  jsimd_arm64_neon.S - NEON 64 bit source
  FOO64.S - gas-preprocessor.pl output from jsimd_arm64_neon.S

I don't know ARM assembler or NEON, don't plan to write any, but trying to facilitate a solution. If I know what the syntax is suppose to be for those 10 issues, I should be able to modify gas-preprocessor.pl (and I don't know perl either) to perform the proper translations for these issues.

Any help or points most appreciated.

David
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


  • Next by Date: Apropos not working
  • Next by thread: Apropos not working
  • Index(es):
    • Date
    • Thread