Skip to content

Commit

Permalink
std.Target: Use hexagonv60 as the baseline CPU model for hexagon.
Browse files Browse the repository at this point in the history
  • Loading branch information
alexrp authored and andrewrk committed Aug 1, 2024
1 parent 9c22a6b commit 604e87a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/std/Target.zig
Original file line number Diff line number Diff line change
Expand Up @@ -1512,6 +1512,7 @@ pub const Cpu = struct {
pub fn baseline(arch: Arch) *const Model {
return switch (arch) {
.arm, .armeb, .thumb, .thumbeb => &arm.cpu.baseline,
.hexagon => &hexagon.cpu.hexagonv60,
.riscv32 => &riscv.cpu.baseline_rv32,
.riscv64 => &riscv.cpu.baseline_rv64,
.x86 => &x86.cpu.pentium4,
Expand Down

0 comments on commit 604e87a

Please sign in to comment.