Skip to content

vectors of i1 and vectors x86 long double don't work #2156

@llvmbot

Description

@llvmbot
Bugzilla Link 1784
Version trunk
OS Linux
Blocks llvm/llvm-bugzilla-archive#31265 llvm/llvm-bugzilla-archive#3037 llvm/llvm-bugzilla-archive#3352 llvm/llvm-bugzilla-archive#7303
Reporter LLVM Bugzilla Contributor
CC @asl,@hfinkel,@RKSimon,@sunfishcode,@darkbuck,@JonPsson,@kaomoneus,@trenouf,@Nuullll

Extended Description

I noticed that a lot of the vector code assumes that there is
no padding between vector elements. For example, the size is
assumed to be the primitive size of the element times the number
of elements. However for x86 long double the primitive size is
80 bits while elements will be spaced by 96/128 bits (depending
on the os) in order to maintain alignment. There's a similar
problem for vectors of apints.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions