github.com/usbarmory/tamago@v0.0.0-20240508072735-8612bbe1e454/arm/vfp.go (about)

     1  // ARM processor support
     2  // https://github.com/usbarmory/tamago
     3  //
     4  // Copyright (c) WithSecure Corporation
     5  // https://foundry.withsecure.com
     6  //
     7  // Use of this source code is governed by the license
     8  // that can be found in the LICENSE file.
     9  
    10  package arm
    11  
    12  const (
    13  	FPEXC_EN = 30
    14  )
    15  
    16  // defined in vfp.s
    17  func vfp_enable()
    18  
    19  // EnableVFP activates the ARM Vector-Floating-Point co-processor.
    20  func (cpu *CPU) EnableVFP() {
    21  	vfp_enable()
    22  }