[llvm-dev] error:Ran out of lanemask bits to represent subregister

Craig Topper via llvm-dev llvm-dev at lists.llvm.org
Fri Jul 14 10:29:21 PDT 2017


Do your 32768 registers also have sub registers?

I can't tell you exactly what to change. I'm not familiar with the code. I
would just be running grep or something.

~Craig

On Fri, Jul 14, 2017 at 10:23 AM, hameeza ahmed <hahmed2305 at gmail.com>
wrote:

> Thank you so much. I think there is no issue with my definitions since i
> have to use larger registers i.e 65536 bit register made from 2 32768
> registers.
> I have seen your mentioned code files. But it looks difficult what to
> change.
> Could you please specify exactly where to make changes??
>
> Thank You
>
> On Fri, Jul 14, 2017 at 10:16 PM, Craig Topper <craig.topper at gmail.com>
> wrote:
>
>> This error indicates that its trying to create a lane mask larger than 32
>> bits. Without seeing all of your subregister definitions I can't tell if
>> that's correct of if there's something wrong with your register definitions.
>>
>> If it is correct then you need to change all the associated LaneMask code
>> in CodeGenRegisters.cpp, include/llvm/MC/LaneBitMask.h and probably
>> elsewhere to use a larger type than "unsigned" or "uint32_t".
>>
>> ~Craig
>>
>> On Fri, Jul 14, 2017 at 10:09 AM, Tim Northover <t.p.northover at gmail.com>
>> wrote:
>>
>>> Your first post was 6 hours ago and you've pinged it twice. That's too
>>> frequent, the generally accepted ping rate on llvm lists is once per week.
>>>
>>> Tim.
>>>
>>> On Jul 14, 2017 1:07 PM, "hameeza ahmed via llvm-dev" <
>>> llvm-dev at lists.llvm.org> wrote:
>>>
>>>> please tell me how to solve this lanemask bits issue?
>>>>
>>>> how to increase lanemask bits?
>>>>
>>>> On Fri, Jul 14, 2017 at 8:33 PM, hameeza ahmed <hahmed2305 at gmail.com>
>>>> wrote:
>>>>
>>>>>
>>>>> Hello,
>>>>> i am trying to construct a register of size 65536 bit by combining 2
>>>>> registers of 32768 bits. both the 32768 bit registers are different so i
>>>>> have to use the following method
>>>>>
>>>>> let SubRegIndices = [sub_32768bit, sub_32768bit_hi], CoveredBySubRegs
>>>>> = 1 in
>>>>>
>>>>> but i am getting following error..
>>>>>
>>>>> error:Ran out of lanemask bits to represent subregister
>>>>> sub_32768bit_hi_then_sub_16384bit_hi_then_sub_32bit
>>>>>
>>>>> now how to increase lanemask bits? what changes are required
>>>>> in IntrinsicEmitter.cpp file??
>>>>>
>>>>> Please reply.
>>>>>
>>>>>
>>>>>
>>>>
>>>> _______________________________________________
>>>> LLVM Developers mailing list
>>>> llvm-dev at lists.llvm.org
>>>> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
>>>>
>>>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20170714/a8f96c21/attachment.html>


More information about the llvm-dev mailing list