While all of MMX, SSE, and SSE2 are included in "generic64", they can be individually disabled. There are two MOVQ forms lacking respective attributes. While the MMX one would get refused anyway (due to MMX registers not recognized with .nommx), the assembler did happily accept the SSE2 form. Add respective CPU settings to both, paralleling what the MOVD counterparts have.
16 lines
361 B
Plaintext
16 lines
361 B
Plaintext
.*: Assembler messages:
|
|
.*:6: Error: .*paddb.*
|
|
.*:7: Error: .*movq.*
|
|
.*:8: Error: .*movq.*
|
|
GAS LISTING .*
|
|
#...
|
|
[ ]*1[ ]+\# Test \.arch \.nosse2
|
|
[ ]*2[ ]+\.text
|
|
[ ]*3[ ]+\.arch generic64
|
|
[ ]*4[ ]+\.arch \.nosse2
|
|
[ ]*5[ ]+\?\?\?\? 0F58C0 addps %xmm0, %xmm0
|
|
[ ]*6[ ]+paddb %xmm0, %xmm0
|
|
[ ]*7[ ]+movq %xmm0, %rax
|
|
[ ]*8[ ]+movq %rax, %xmm0
|
|
#pass
|