diff options
Diffstat (limited to 'libcpu')
-rw-r--r-- | libcpu/ChangeLog | 2 | ||||
-rw-r--r-- | libcpu/i386_disasm.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/libcpu/ChangeLog b/libcpu/ChangeLog index b26c0aab..90c2e588 100644 --- a/libcpu/ChangeLog +++ b/libcpu/ChangeLog @@ -1,5 +1,7 @@ 2008-12-31 Ulrich Drepper <drepper@redhat.com> + * i386_disasm.c (amd3dnow): Mark as const. + * defs/i386: Add blendvpd and blendvps opcodes. 2008-12-30 Ulrich Drepper <drepper@redhat.com> diff --git a/libcpu/i386_disasm.c b/libcpu/i386_disasm.c index 5da61705..75936356 100644 --- a/libcpu/i386_disasm.c +++ b/libcpu/i386_disasm.c @@ -227,7 +227,7 @@ static const char amd3dnowstr[] = #define AMD3DNOW_LOW_IDX 0x0d #define AMD3DNOW_HIGH_IDX (sizeof (amd3dnow) + AMD3DNOW_LOW_IDX - 1) #define AMD3DNOW_IDX(val) ((val) - AMD3DNOW_LOW_IDX) -static unsigned char amd3dnow[] = +static const unsigned char amd3dnow[] = { [AMD3DNOW_IDX (0xbf)] = MNE_3DNOW_PAVGUSB, [AMD3DNOW_IDX (0x9e)] = MNE_3DNOW_PFADD, |