This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/77874] New: two problems with gcc.target/i386/avx-1.c


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77874

            Bug ID: 77874
           Summary: two problems with gcc.target/i386/avx-1.c
           Product: gcc
           Version: 7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: dcb314 at hotmail dot com
  Target Milestone: ---

$ ~/gcc/results/bin/gcc -c gcc.target/i386/avx-1.c
/tmp/cc1rwjfP.s: Assembler messages:
/tmp/cc1rwjfP.s:83150: Error: operand size mismatch for `vcvtqq2pd'
/tmp/cc1rwjfP.s:83183: Error: operand size mismatch for `vcvtqq2pd'
/tmp/cc1rwjfP.s:83216: Error: operand size mismatch for `vcvtqq2pd'
/tmp/cc1rwjfP.s:83245: Error: operand size mismatch for `vcvtuqq2pd'
/tmp/cc1rwjfP.s:83278: Error: operand size mismatch for `vcvtuqq2pd'
/tmp/cc1rwjfP.s:83311: Error: operand size mismatch for `vcvtuqq2pd'
$

I am not sure if the assembler is in error, or the compiler.


$ ~/gcc/results/bin/gcc -c -O3 -march=native gcc.target/i386/avx-1.c
In file included from
/home/dcb/gcc/results/lib/gcc/x86_64-pc-linux-gnu/7.0.0/include/immintrin.h:53:0,
                 from gcc.target/i386/avx-1.c:583:
/home/dcb/gcc/results/lib/gcc/x86_64-pc-linux-gnu/7.0.0/include/avx512vlintrin.h:
In function ‘_mm_mask_and_epi32’:
/home/dcb/gcc/results/lib/gcc/x86_64-pc-linux-gnu/7.0.0/include/avx512vlintrin.h:4766:1:
internal compiler error: in output_3399, at config/i386/sse.md:11423
 }
 ^
0x128e276 output_3399
        ../../trunk/gcc/config/i386/sse.md:11423
0x8ee6e2 final_scan_insn(rtx_insn*, _IO_FILE*, int, int, int*)
        ../../trunk/gcc/final.c:2978
0x8ef872 final(rtx_insn*, _IO_FILE*, int)
        ../../trunk/gcc/final.c:2045
0x8f03ed rest_of_handle_final
        ../../trunk/gcc/final.c:4471
0x8f03ed execute
        ../../trunk/gcc/final.c:4546
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.
$ cat /proc/cpuinfo 

processor       : 7
vendor_id       : AuthenticAMD
cpu family      : 21
model           : 2
model name      : AMD FX(tm)-8350 Eight-Core Processor
stepping        : 0
microcode       : 0x600084f
cpu MHz         : 4000.000
cache size      : 2048 KB
physical id     : 0
siblings        : 8
core id         : 3
cpu cores       : 4
apicid          : 23
initial apicid  : 7
fpu             : yes
fpu_exception   : yes
cpuid level     : 13
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov
pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb
rdtscp lm constant_tsc rep_good nopl nonstop_tsc extd_apicid aperfmperf
eagerfpu pni pclmulqdq monitor ssse3 fma cx16 sse4_1 sse4_2 popcnt aes xsave
avx f16c lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse
3dnowprefetch osvw ibs xop skinit wdt lwp fma4 tce nodeid_msr tbm topoext
perfctr_core perfctr_nb cpb hw_pstate vmmcall bmi1 arat npt lbrv svm_lock
nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter
pfthreshold
bugs            : fxsave_leak sysret_ss_attrs null_seg
bogomips        : 8025.66
TLB size        : 1536 4K pages
clflush size    : 64
cache_alignment : 64
address sizes   : 48 bits physical, 48 bits virtual
power management: ts ttp tm 100mhzsteps hwpstate cpb eff_freq_ro

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]