<feed xmlns='http://www.w3.org/2005/Atom'>
<title>llvm/test/MC/Mips, branch testing</title>
<subtitle>http://llvm.org</subtitle>
<id>https://git.amat.us/llvm/atom/test/MC/Mips?h=testing</id>
<link rel='self' href='https://git.amat.us/llvm/atom/test/MC/Mips?h=testing'/>
<link rel='alternate' type='text/html' href='https://git.amat.us/llvm/'/>
<updated>2013-03-22T00:29:10Z</updated>
<entry>
<title>Fix the invalid opcode for Mips branch instructions in the assembler</title>
<updated>2013-03-22T00:29:10Z</updated>
<author>
<name>Jack Carter</name>
<email>jack.carter@imgtec.com</email>
</author>
<published>2013-03-22T00:29:10Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/llvm/commit/?id=d3107fbc54a5b5156f0aabc8788724f1469eb9df'/>
<id>urn:sha1:d3107fbc54a5b5156f0aabc8788724f1469eb9df</id>
<content type='text'>
For mips a branch an 18-bit signed offset (the 16-bit 
offset field shifted left 2 bits) is added to the 
address of the instruction following the branch 
(not the branch itself), in the branch delay slot, 
to form a PC-relative effective target address. 

Previously, the code generator did not perform the 
shift of the immediate branch offset which resulted 
in wrong instruction opcode. This patch fixes the issue.

Contributor: Vladimir Medic



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@177687 91177308-0d34-0410-b5e6-96231b3b80d8
</content>
</entry>
<entry>
<title>This patch that enables the Mips assembler to use symbols for offset for instructions</title>
<updated>2013-03-22T00:05:30Z</updated>
<author>
<name>Jack Carter</name>
<email>jack.carter@imgtec.com</email>
</author>
<published>2013-03-22T00:05:30Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/llvm/commit/?id=25df6a93f3324bd30f44dcb95fd17aff0a92d438'/>
<id>urn:sha1:25df6a93f3324bd30f44dcb95fd17aff0a92d438</id>
<content type='text'>
This patch uses the generated instruction info tables to 
identify memory/load store instructions.
After successful matching and based on the operand type 
and size, it generates additional instructions to the output.

Contributor: Vladimir Medic



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@177685 91177308-0d34-0410-b5e6-96231b3b80d8
</content>
</entry>
<entry>
<title>This patch enables the Mips .set directive to define aliases</title>
<updated>2013-03-21T21:44:16Z</updated>
<author>
<name>Jack Carter</name>
<email>jack.carter@imgtec.com</email>
</author>
<published>2013-03-21T21:44:16Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/llvm/commit/?id=c91b5e197bb41ccb2f9f78b6176e61c848df9e15'/>
<id>urn:sha1:c91b5e197bb41ccb2f9f78b6176e61c848df9e15</id>
<content type='text'>
The .set directive in the Mips the assembler can be 
used to set the value of a symbol to an expression. 
This changes the symbol's value and type to conform 
to the expression's.

Syntax: .set symbol, expression

This patch implements the parsing of the above syntax 
and enables the parser to use defined symbols when 
parsing operands.

Contributor: Vladimir Medic



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@177667 91177308-0d34-0410-b5e6-96231b3b80d8
</content>
</entry>
<entry>
<title>Mips specific standalone assembler addressing mode %hi and %lo.</title>
<updated>2013-02-21T02:09:31Z</updated>
<author>
<name>Jack Carter</name>
<email>jcarter@mips.com</email>
</author>
<published>2013-02-21T02:09:31Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/llvm/commit/?id=77217229ba1bbc92f3a53099fa91bcdaa7797da8'/>
<id>urn:sha1:77217229ba1bbc92f3a53099fa91bcdaa7797da8</id>
<content type='text'>
The constructs %hi() and %lo() represent the high and low 16 
bits of the address. 
Because the 16 bit offset field of an LW instruction is 
interpreted as signed, if bit 15 of the low part is 1 then the 
low part will act as a negative and 1 needs to be added to the 
high part.

Contributer: Vladimir Medic


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@175707 91177308-0d34-0410-b5e6-96231b3b80d8
</content>
</entry>
<entry>
<title>ELF symbol table field st_other support, </title>
<updated>2013-02-20T23:11:17Z</updated>
<author>
<name>Jack Carter</name>
<email>jcarter@mips.com</email>
</author>
<published>2013-02-20T23:11:17Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/llvm/commit/?id=99e98551bf8719764f9345ce856118f3f1a9c441'/>
<id>urn:sha1:99e98551bf8719764f9345ce856118f3f1a9c441</id>
<content type='text'>
excluding visibility bits.

Mips specific standalone assembler directive "set at".

This directive changes the general purpose register
that the assembler will use when given the symbolic
register name $at.

This does not include negative testing. That will come
in a future patch.

A side affect of this patch recognizes the different 
GPR register names for temporaries between old abi
and new abi so a test case for that is included.

Contributer: Vladimir Medic


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@175686 91177308-0d34-0410-b5e6-96231b3b80d8
</content>
</entry>
<entry>
<title>ELF symbol table field st_other support, </title>
<updated>2013-02-19T22:29:00Z</updated>
<author>
<name>Jack Carter</name>
<email>jcarter@mips.com</email>
</author>
<published>2013-02-19T22:29:00Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/llvm/commit/?id=5cdeca8b1d726790fe9687bc4a4d615d299bc151'/>
<id>urn:sha1:5cdeca8b1d726790fe9687bc4a4d615d299bc151</id>
<content type='text'>
excluding visibility bits.

Mips (o32 abi) specific e_header setting.

EF_MIPS_ABI_O32 needs to be set in the 
ELF header flags for o32 abi output.

Contributer: Reed Kotler


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@175569 91177308-0d34-0410-b5e6-96231b3b80d8
</content>
</entry>
<entry>
<title>ELF symbol table field st_other support, </title>
<updated>2013-02-19T22:14:34Z</updated>
<author>
<name>Jack Carter</name>
<email>jcarter@mips.com</email>
</author>
<published>2013-02-19T22:14:34Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/llvm/commit/?id=c989c61798783f99abe7f8c27baf76bd2aea5067'/>
<id>urn:sha1:c989c61798783f99abe7f8c27baf76bd2aea5067</id>
<content type='text'>
excluding visibility bits.

Mips (Mips16) specific e_header setting.

EF_MIPS_ARCH_ASE_M16 needs to be set in the 
ELF header flags for Mips16.

Contributer: Reed Kotler


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@175566 91177308-0d34-0410-b5e6-96231b3b80d8
</content>
</entry>
<entry>
<title>[mips] Add definition of JALR instruction which has two register operands. Change the</title>
<updated>2013-02-07T19:48:00Z</updated>
<author>
<name>Akira Hatanaka</name>
<email>ahatanaka@mips.com</email>
</author>
<published>2013-02-07T19:48:00Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/llvm/commit/?id=0c66403efdf88ff4f247b6a9f45339bb3a893235'/>
<id>urn:sha1:0c66403efdf88ff4f247b6a9f45339bb3a893235</id>
<content type='text'>
original JALR instruction with one register operand to be a pseudo-instruction.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@174657 91177308-0d34-0410-b5e6-96231b3b80d8
</content>
</entry>
<entry>
<title>This patch that sets the Mips ELF header flag for </title>
<updated>2013-02-05T09:30:03Z</updated>
<author>
<name>Jack Carter</name>
<email>jcarter@mips.com</email>
</author>
<published>2013-02-05T09:30:03Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/llvm/commit/?id=7304702ef99f98897d15baae0eede55f294bc602'/>
<id>urn:sha1:7304702ef99f98897d15baae0eede55f294bc602</id>
<content type='text'>
MicroMips architectures. 

Contributer: Zoran Jovanovic
 


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@174360 91177308-0d34-0410-b5e6-96231b3b80d8
</content>
</entry>
<entry>
<title>This patch that sets the EmitAlias flag in td files </title>
<updated>2013-02-05T08:32:10Z</updated>
<author>
<name>Jack Carter</name>
<email>jcarter@mips.com</email>
</author>
<published>2013-02-05T08:32:10Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/llvm/commit/?id=37ef65b9c1b93c386d13089d9ace6a1cc00e82dc'/>
<id>urn:sha1:37ef65b9c1b93c386d13089d9ace6a1cc00e82dc</id>
<content type='text'>
and enables the instruction printer to print aliased 
instructions. 

Due to usage of RegisterOperands a change in common 
code (utils/TableGen/AsmWriterEmitter.cpp) is required 
to get the correct register value if it is a RegisterOperand.

Contributer: Vladimir Medic
 


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@174358 91177308-0d34-0410-b5e6-96231b3b80d8
</content>
</entry>
</feed>
