------- Additional Comments From hjl dot tools at gmail dot com 2010-07-14
14:48 -------
Try:
---
#include <stdint.h>
typedef uint32_t u32x4_t __attribute__ ((vector_size (16)));
void decode_and_jump(u32x4_t instructions) {
void *ptr;
asm("movd %[from], %k[to]\n" : [to] "=r" (ptr) : [from] "x" (instructions));
goto *ptr;
}
---
Assembler will either accept "movd %xmm0,%rax" which is specified
by AMD or accept it as "movq %xmm0,%rax".
--
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |INVALID
http://sourceware.org/bugzilla/show_bug.cgi?id=11818
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
_______________________________________________
bug-binutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-binutils