...

Text file src/runtime/asm_riscv64.h

Documentation: runtime

     1// Copyright 2024 The Go Authors. All rights reserved.
     2// Use of this source code is governed by a BSD-style
     3// license that can be found in the LICENSE file.
     4
     5// Define features that are guaranteed to be supported by setting the GORISCV64 variable.
     6// If a feature is supported, there's no need to check it at runtime every time.
     7
     8#ifdef GORISCV64_rva22u64
     9#define hasZba
    10#define hasZbb
    11#define hasZbs
    12#endif

View as plain text