|
From: | Paolo Bonzini |
Subject: | [Lightning] Re: Vector instructions? |
Date: | Thu, 04 Oct 2007 12:00:09 +0200 |
User-agent: | Thunderbird 2.0.0.6 (Macintosh/20070728) |
Sandro Magi wrote: > Any plans to add SIMD instructions to Lightning? I believe this might > require some notion of a "sub-architecture" since the instructions > differ greatly based on CPU version.Yes, that is the problem. Though as long as the SIMD width (e.g. 8/16 bytes) is told to the user with a macro, rather than hardcoded it should be possible to make the basic ones relatively portable. The problem is more fancy instructions like pack/unpack, which differ the most.
Paolo
[Prev in Thread] | Current Thread | [Next in Thread] |