Recent

Author Topic: Target Architectures for x86_64  (Read 3459 times)

MathMan

  • Sr. Member
  • ****
  • Posts: 407
Target Architectures for x86_64
« on: April 13, 2016, 10:47:54 am »
Hi all,

I seem to remember that I read in a topic somewhere on this forum that there are other target architectures available for "x86_64" beside "ATHLON64"? Is that true? And if it is how can I get access to these from the Lazarus IDE?

Currently using - Ubuntu 15.04 / 64 bit - Lazarus 1.6.0 (installed yesterday over an existing 1.4.2) - FPC 3.0.0.

Kind regards,
MathMan

Leledumbo

  • Hero Member
  • *****
  • Posts: 8798
  • Programming + Glam Metal + Tae Kwon Do = Me
Re: Target Architectures for x86_64
« Reply #1 on: April 13, 2016, 01:20:40 pm »
That's not target architecture, there's one and only one x86_64, but the Supported CPU instruction sets varies according to the used CPU, which you can see from `fpc -i` output.

MathMan

  • Sr. Member
  • ****
  • Posts: 407
Re: Target Architectures for x86_64
« Reply #2 on: April 13, 2016, 02:25:56 pm »
That's not target architecture, there's one and only one x86_64, but the Supported CPU instruction sets varies according to the used CPU, which you can see from `fpc -i` output.

Thanks for the heads-up, I'll try to use the correct terminology from now on. I'll check what FPC supports the way you suggested. Question still remains how I can address this from the Lazarus IDE? Under "Project Properties->..." I can only select "ATHLON64" for "x86_64".

Leledumbo

  • Hero Member
  • *****
  • Posts: 8798
  • Programming + Glam Metal + Tae Kwon Do = Me
Re: Target Architectures for x86_64
« Reply #3 on: April 13, 2016, 05:47:25 pm »
Question still remains how I can address this from the Lazarus IDE? Under "Project Properties->..." I can only select "ATHLON64" for "x86_64".
Lazarus hardcodes the values instead of querying/parsing fpc -i, therefore in order to choose something else, put it in other options. You can also report missing values for this in the bugtracker.

SymbolicFrank

  • Hero Member
  • *****
  • Posts: 1315
Re: Target Architectures for x86_64
« Reply #4 on: April 18, 2016, 05:18:11 pm »
All x86_64 CPUs use the AMD Athlon 64-bit instruction set and extensions. Yes, even the Intel ones (I bet it still stings).

 

TinyPortal © 2005-2018