Proposed RISC-V vector instructions crank up computing power on small devices

When you need to do audio, voice or image processing at the network edge or on a battery budget

RISC-V looks set to be extended to bring more computing power to applications on smaller devices.

The Zve collection of software instructions, right now under public review, provide vector math processing for embedded devices and microcontrollers.

RISC-V is an open-source, royalty-free instruction set architecture for CPU cores: RISC-V International sets the spec, and semiconductor designers are free to implement it as they see fit in their processors and system-on-chips.

The ISA is structured as a set of extensions, and CPU designers can pick and choose which extensions they wish to implement to suit the software their components will likely run. If you want to make a core capable of natively booting a usable Linux system, for instance, you'll want to implement at least the base set of integer instructions plus the atomic operations and multiplication and division sets, and a few others for good measure.

The Zve extensions provide 32-bit and 64-bit integer, fixed-point, single-precision, and double-precision floating-point vector operations suitable for modest CPU cores. There is, separately, a full-blown vector math extension that was frozen for public review last month. Zve is a more modest spin of that so that it can be implemented in smaller cores.

"Applications such as AI, vision processing, security and voice will all benefit from the Zve extensions," said Ted Speers, technical fellow at Microchip Technology, which makes chips with RISC-V-compatible cores.

Zve extensions address a bigger demand for faster computing on the network edge where data from sensors, especially in IoT and automotive applications, needs to be processed with low latency and low power, Speers said.

Vector instructions are widely used to handle demanding applications in areas that include graphics and high-performance computing.

"Their purpose is to bring the power of RISC-V vector extensions to small devices by only supporting a subset of the vector extensions," Speers said.

The Zve extensions will lead to new types of chips tailored to meet the stringent cost and power demands and increasing performance, Speers said, adding that it will drive "a new ecosystem of tools and libraries because one RISC-V vector architecture can be applied to all domains – both high-end and low-end."

The Zve extensions are currently in public review, which ends on November 4.

RISC-V's modular approach helps engineers cut down the size, complexity, and cost of their CPU cores.

"You would pick a fixed function where you know the workload before building the hardware. That's how companies and partners build RISC-V," said James Prior, senior director of product marketing and communications at SiFive, which produces RISC-V chips for customers.

The Zve extensions could be used for applications like audio, voice or image processing, similar to those handled by digital signal processors in smartphones, Prior said. For example, Zve extensions could be used to make a chip for smart speakers. Suffice to say, rival architectures, such as Arm, also offer vector instructions for large and small CPU cores.

SiFive already offers products that support the aforementioned larger RVV vector extension.

In an online SiFive design tool, customers can tailor a RISC-V CPU core to their needs, and request the corresponding RTL data to evaluate it in an FPGA. It's possible SiFive could provide Zve extensions from this tool for a custom embedded workhorse; Prior couldn't comment if or when SiFive would offer that option to customers.

The Zve approach is more elegant and efficient than full-bore SIMD (single instructions multiple data), which you might see in x86 processors to crank up performance, Prior said. He likened the RISC-V approach to vector operations to Cray supercomputers in the 1970s, an argument we've heard before.

The RISC-V effort to create vectorized compilers and libraries for high-end devices can be also applied to Zve, which makes it easy to write software for a full range of compute performance needs, Microchip's Speers said.

Speers said Microchip has not disclosed plans for use of the Zve extensions in its products. ®

Narrower topics

Other stories you might like

  • AMD claims its GPUs beat Nvidia on performance per dollar
    * Terms, conditions, hardware specs and software may vary – a lot

    As a slowdown in PC sales brings down prices for graphics cards, AMD is hoping to win over the market's remaining buyers with a bold, new claim that its latest Radeon cards provide better performance for the dollar than Nvidia's most recent GeForce cards.

    In an image tweeted Monday by AMD's top gaming executive, the chip designer claims its lineup of Radeon RX 6000 cards provide better performance per dollar than competing ones from Nvidia, with all but two of the ten cards listed offering advantages in the double-digit percentages. AMD also claims to provide better performance for the power required by each card in all but two of the cards.

    Continue reading
  • Google opens the pod doors on Bay View campus
    A futuristic design won't make people want to come back – just ask Apple

    After nearly a decade of planning and five years of construction, Google is cutting the ribbon on its Bay View campus, the first that Google itself designed.

    The Bay View campus in Mountain View – slated to open this week – consists of two office buildings (one of which, Charleston East, is still under construction), 20 acres of open space, a 1,000-person event center and 240 short-term accommodations for Google employees. The search giant said the buildings at Bay View total 1.1 million square feet. For reference, that's less than half the size of Apple's spaceship. 

    The roofs on the two main buildings, which look like pavilions roofed in sails, were designed that way for a purpose: They're a network of 90,000 scale-like solar panels nicknamed "dragonscales" for their layout and shimmer. By scaling the tiles, Google said the design minimises damage from wind, rain and snow, and the sloped pavilion-like roof improves solar capture by adding additional curves in the roof. 

    Continue reading
  • Pentester pops open Tesla Model 3 using low-cost Bluetooth module
    Anything that uses proximity-based BLE is vulnerable, claim researchers

    Tesla Model 3 and Y owners, beware: the passive entry feature on your vehicle could potentially be fooled by a new form of relay attack.

    Discovered and tested by researchers at NCC Group, the attack allows anyone with a tool similar to NCC's to relay the Bluetooth Low Energy (BLE) signal from a smartphone that has been paired with a Tesla back to the vehicle. Far from simply unlocking the door, the hack lets the attacker start the car and drive away too.

    In its testing, NCC Group said it was able to perform a relay attack that allowed researchers to open a Tesla Model 3 from a home in which the vehicle's paired device was located (on the other side of the house), approximately 25 meters away.

    Continue reading

Biting the hand that feeds IT © 1998–2022