History log of /freebsd/share/mk/bsd.cpu.mk (Results 1 – 25 of 323)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# cc6d72cf 20-Jan-2025 Warner Losh <imp@FreeBSD.org>

bsd.cpu.mk: Remove xscale reference

We've retired all the armv5te support, so we don't need this here anymore.

Sponsored by: Netflix


# 0fb33e04 20-Jan-2025 Norikatsu Shigemura <nork@FreeBSD.org>

bsd.cpu.mk: Add _CPUFLAGS to CXXFLAGS as well

PR: 180365
Reviewed by: imp
Sponsored by: Netflix


Revision tags: release/14.2.0, release/13.4.0
# 06999c8a 12-Jul-2024 Andrew Turner <andrew@FreeBSD.org>

share/mk: Remove armv6 support

It is being removed from the tree. Remove the build infrastructure to
configure armv6 builds.

Reviewed by: manu, imp, emaste
Sponsored by: Arm Ltd
Differential Revisi

share/mk: Remove armv6 support

It is being removed from the tree. Remove the build infrastructure to
configure armv6 builds.

Reviewed by: manu, imp, emaste
Sponsored by: Arm Ltd
Differential Revision: https://reviews.freebsd.org/D45643

show more ...


# e726eed7 20-Jun-2024 Andrew Turner <andrew@FreeBSD.org>

share/mk: Remove pre-armv7 example architectures

These are already removed from the tree, or are in the process of being
removed.

Reviewed by: manu, imp, emaste
Sponsored by: Arm Ltd
Differential R

share/mk: Remove pre-armv7 example architectures

These are already removed from the tree, or are in the process of being
removed.

Reviewed by: manu, imp, emaste
Sponsored by: Arm Ltd
Differential Revision: https://reviews.freebsd.org/D45638

show more ...


Revision tags: release/14.1.0
# 2fd73b71 18-Apr-2024 Dimitry Andric <dim@FreeBSD.org>

share/mk/bsd.cpu.mk: add F16C feature for i386 and amd64 architectures

As discussed in bug 278417, some ports require the F16C instruction set
to compile, but there is no way yet to detect whether t

share/mk/bsd.cpu.mk: add F16C feature for i386 and amd64 architectures

As discussed in bug 278417, some ports require the F16C instruction set
to compile, but there is no way yet to detect whether the currently
chosen CPUTYPE supports this feature.

Add the feature to the MACHINE_CPU variable, for each processor that
supports it. The list of processors was extracted from clang 18's -dM
output, filtered on the __F16C__ define.

PR: 278417
Reviewed by: brooks, emaste
MFC after: 3 days
Differential Revision: https://reviews.freebsd.org/D44848

show more ...


Revision tags: release/13.3.0, release/14.0.0
# ed3fb74e 20-Aug-2023 Daniel Engberg <diizzy@FreeBSD.org>

share/mk/bsd.cpu.mk: Add AMD Zen 4 for x86

Main difference between older Zen variants is that this supports AVX-512

Reviewed by: imp (previous version), emaste
Approved by: emaste
Differential Revi

share/mk/bsd.cpu.mk: Add AMD Zen 4 for x86

Main difference between older Zen variants is that this supports AVX-512

Reviewed by: imp (previous version), emaste
Approved by: emaste
Differential Revision: https://reviews.freebsd.org/D41331

show more ...


# d0b2dbfa 16-Aug-2023 Warner Losh <imp@FreeBSD.org>

Remove $FreeBSD$: one-line sh pattern

Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/


# 5581cf90 24-Jun-2023 Piotr Kubaj <pkubaj@FreeBSD.org>

share/mk/bsd.cpu.mk: drop -mno-powerpc64

Clang doesn't have -mno-powerpc64.

Differential revision: https://reviews.freebsd.org/D40589
Approved by: jhibbits


# 2c7279ba 16-Jun-2023 Piotr Kubaj <pkubaj@FreeBSD.org>

share/mk/bsd.cpu.mk: handle the default case when CPUTYPE is not specified on powerpc*

Approved by: imp
Differential Revision: https://reviews.freebsd.org/D40576


# 448045e4 05-May-2023 Piotr Kubaj <pkubaj@FreeBSD.org>

share/mk/bsd.cpu.mk: add AltiVec / VSX to powerpc*'s MACHINE_CPU

MFC after: 3 days
Approved by: jhibbits
Differential revision: https://reviews.freebsd.org/D39240


# 47e888f8 20-Apr-2023 John Baldwin <jhb@FreeBSD.org>

Remove a few more references to riscv64sf.

Fixes: 1ca12bd927d7 Remove the riscv64sf architecture.


Revision tags: release/13.2.0
# 3ae78d66 14-Feb-2023 Warner Losh <imp@FreeBSD.org>

bsd.cpu.mk: Simplify armv[67] support

Drop a clause that's no longer relevant to v4/v5. Drop support for
softfloat for v[45]. Simplify soft float expression by assuming we're
always either armv6 or

bsd.cpu.mk: Simplify armv[67] support

Drop a clause that's no longer relevant to v4/v5. Drop support for
softfloat for v[45]. Simplify soft float expression by assuming we're
always either armv6 or armv7.

Sponsored by: Netflix
Reviewed by: emaste
Differential Revision: https://reviews.freebsd.org/D38584

show more ...


Revision tags: release/12.4.0
# 426fc376 05-Oct-2022 Brooks Davis <brooks@FreeBSD.org>

bsd.cpu.mk: Introduce MACHINE_ABI

MACHINE_ABI is a list of properties of the ABI used for MACHINE_ARCH.
It should be used in place of long conditionals on MACHINE_ARCH where
practical.

The followin

bsd.cpu.mk: Introduce MACHINE_ABI

MACHINE_ABI is a list of properties of the ABI used for MACHINE_ARCH.
It should be used in place of long conditionals on MACHINE_ARCH where
practical.

The following properties are indicated with one of the follow values:

Byte order: big-endian, little-endian
Floating point ABI: soft-float, hard-float
Size of long (size_t, etc): long32, long64
Pointer type: ptr32, ptr64
Size of time_t: time32, time64

For example, i386 targets will be:
MACHINE_ABI= big-endian hard-float long32 ptr32 time32

Reviewed by: imp
Obtained from: CheriBSD
Sponsored by: DARPA, AFRL
Differential Revision: https://reviews.freebsd.org/D36421

show more ...


Revision tags: release/13.1.0
# 9b93d758 02-Jan-2022 Warner Losh <imp@FreeBSD.org>

bsd.cpu.mk: Remove mips support

Remove the tweaks to the compiler, as well as additional command line
args to get the proper endian, word size and floating style.

Sponsored by: Netflix


Revision tags: release/12.3.0
# 15575aca 27-Sep-2021 Warner Losh <imp@FreeBSD.org>

bsd.cpu.mk: Minor formatting for armv6 vs armv7

Separate out the arch/cpu options for armv6 from the armv7 ones. This is
less confusing.

Sponsored by: Netflix


# 362fef2f 06-Aug-2021 Greg V <greg@unrelenting.technology>

bsd.cpu.mk: add support for x86-64-v[234] levels as CPUTYPE

These are supported in LLVM 12 and GCC 11:

https://github.com/llvm/llvm-project/commit/012dd42e027e
https://gcc.gnu.org/git/?p=gcc.git;a=

bsd.cpu.mk: add support for x86-64-v[234] levels as CPUTYPE

These are supported in LLVM 12 and GCC 11:

https://github.com/llvm/llvm-project/commit/012dd42e027e
https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=324bec558e95584e8c1997575ae9d75978af59f1

Differential Revision: https://reviews.freebsd.org/D29150

show more ...


# e8014552 15-Jun-2021 Jung-uk Kim <jkim@FreeBSD.org>

bsd.cpu.mk: Correct MACHINE_CPU for Intel Alder Lake

Apparently Intel Alder Lake lacks AVX-512 instructions.

Fixes: 09e7341c5ea4 "Catch up with Clang 12"


# 09e7341c 15-Jun-2021 Jung-uk Kim <jkim@FreeBSD.org>

Catch up with Clang 12.

Add "znver3" for AMD and "alderlake" and "sapphirerapids" for Intel.


Revision tags: release/13.0.0, release/12.2.0
# b75abea4 23-Sep-2020 Brandon Bergren <bdragon@FreeBSD.org>

[PowerPC64LE] Set up powerpc.powerpc64le architecture

This is the initial set up for PowerPC64LE.

The current plan is for this arch to remain experimental for FreeBSD 13.

This started as a weekend

[PowerPC64LE] Set up powerpc.powerpc64le architecture

This is the initial set up for PowerPC64LE.

The current plan is for this arch to remain experimental for FreeBSD 13.

This started as a weekend learning project for me and kinda snowballed from
there.

(More to follow momentarily.)

Reviewed by: imp (earlier version), emaste
Sponsored by: Tag1 Consulting, Inc.
Differential Revision: https://reviews.freebsd.org/D26399

show more ...


# d14897f9 02-Sep-2020 Andrew Turner <andrew@FreeBSD.org>

When CPUTYPE is an architecture name use -march

Allow architecture names to be passed in to the build system via CPUTYPE.
This allows the user to use values such as armv8.1-a or armv8-a+crc as
the C

When CPUTYPE is an architecture name use -march

Allow architecture names to be passed in to the build system via CPUTYPE.
This allows the user to use values such as armv8.1-a or armv8-a+crc as
the CPUTYPE.

Sponsored by: Innovate UK

show more ...


Revision tags: release/11.4.0
# 90be9172 30-Mar-2020 Justin Hibbits <jhibbits@FreeBSD.org>

powerpc: --secure-plt only needs to pass to ld.bfd, not ld.lld

ld.lld only supports secure-plt for powerpc, so no need to pass the argument
in.


# a04ec978 27-Mar-2020 Brandon Bergren <bdragon@FreeBSD.org>

[PowerPC] Switch powerpc and powerpcspe to lld

Now that LLD 10 is out, and required patches have landed, we are now ready
to finally switch away from the ancient in-tree ld.bfd.

Special thanks to F

[PowerPC] Switch powerpc and powerpcspe to lld

Now that LLD 10 is out, and required patches have landed, we are now ready
to finally switch away from the ancient in-tree ld.bfd.

Special thanks to Fangrui Song for many hours of work on getting the
32-bit powerpc lld ready for prime-time.

Reviewed by: emaste (earlier revision), jhibbits
Relnotes: yes
Differential Revision: https://reviews.freebsd.org/D24111

show more ...


# e754c10d 11-Mar-2020 Jung-uk Kim <jkim@FreeBSD.org>

Add "tigerlake" CPUTYPE for x86 to catch up with Clang 10.0.


# 75dfc66c 27-Feb-2020 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r358269 through r358399.


# 47e9f42e 26-Feb-2020 Warner Losh <imp@FreeBSD.org>

Remove sparc64 specific buid-system hacks

Remove all the sparc64 hacks and tweaks to the build system. We don't
need them anymore.


12345678910>>...13