Project

General

Profile

Bug #4398

Aspectator and C back-end should support GCC vector type

Added by Evgeny Novikov almost 6 years ago. Updated 3 months ago.

Status:
Open
Priority:
High
Category:
Core
Start date:
07/28/2013
Due date:
% Done:

0%

Estimated time:
Detected in build:
svn
Platform:
Published in build:

Description

There are some issues related with unsupported GCC vector type on kvm drivers. They happen just for 3 drivers, that use "sse128_t"http://lxr.free-electrons.com/source/arch/x86/include/asm/kvm_emulate.h#L212 vector type.

Previously these drivers have led to segfault (#4390) when using specific aspect files, and have led to a failure of C-backend for any aspect file. At the moment Aspectator fails when it encounters it. Vector types should be supported in both Aspectator and C-backend.


Related issues

Related to C Instrumentation Framework - Bug #4390: arch/x86/kvm/emulate.c.prepared:912:1: internal compiler error: Segmentation faultClosed07/26/2013

Actions

History

#1

Updated by Evgeny Novikov over 4 years ago

  • Priority changed from High to Normal
#2

Updated by Evgeny Novikov over 3 years ago

  • Subject changed from Aspectator and C-backend should support GCC vector type to Aspectator and C back-end should support GCC vector type
  • Category set to Core
  • Priority changed from Normal to High
#3

Updated by Ilya Shchepetkov about 2 years ago

The issue is still relevant.

#4

Updated by Ilya Shchepetkov 3 months ago

Ilya Shchepetkov wrote:

The issue is still relevant.

It is as relevant today as it's ever been

#5

Updated by Evgeny Novikov 3 months ago

It seems that to support this normally we need to do many things because of GCC operates with specific types internally rather than with, say, integers with corresponding attributes.

Suddenly, to avoid corresponding errors from CIF when dealing with source code of the Linux kernel it is enough to add the following command-line option:

-Dvector_size(x)=

This suppresses the only vector type that is used in the Linux kernel. Hopefully, the rest code does not use specific vector operations. Corresponding data is passed to inline assembler that is ignored.

Also available in: Atom PDF