Skip to content

SystemZ assembly syntax problem #9483

@llvmbot

Description

@llvmbot
Bugzilla Link 9111
Resolution FIXED
Resolved on Feb 01, 2011 14:23
Version trunk
OS Linux
Attachments minimal test case, debug output from llc, potential patch
Reporter LLVM Bugzilla Contributor
CC @asl

Extended Description

The output from the SystemZ backend gives fatal errors when trying to assemble with the GNU binutils 2.20.51.20100224 assembler for s390x. This happens when assembling the output of the distributed test cases for SystemZ.

A minimal test case is attached. I'll attach the -debug output from llc next.

$ llc -march=systemz RetImm16LL.ll
$ s390x-as -m64 -march=z900 RetImm16LL.s
RetImm16LL.s: Assembler messages:
RetImm16LL.s:8: Error: operand out of range (0xffffffffffffffff is not between 0x0000000000000000 and 0x000000000000ffff)

In RetImm16LL.s
the line
llill %r2, -1
should be
llill %r2, 65535

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