<feed xmlns='http://www.w3.org/2005/Atom'>
<title>llvm-project.git/llvm/lib/Target/Mips/MipsISelLowering.cpp, branch users/nico/python-2</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/'/>
<entry>
<title>CodeGen: Emit error if getRegisterByName fails (#145194)</title>
<updated>2025-06-23T07:33:35+00:00</updated>
<author>
<name>Matt Arsenault</name>
<email>Matthew.Arsenault@amd.com</email>
</author>
<published>2025-06-23T07:33:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=48155f93dd84919432e3276a143f8ef46c247b9a'/>
<id>48155f93dd84919432e3276a143f8ef46c247b9a</id>
<content type='text'>
This avoids using report_fatal_error and standardizes the error
message in a subset of the error conditions.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This avoids using report_fatal_error and standardizes the error
message in a subset of the error conditions.</pre>
</div>
</content>
</entry>
<entry>
<title>[MIPS]Fix QNaNs in the MIPS legacy NaN encodings (#139829)</title>
<updated>2025-05-14T09:25:47+00:00</updated>
<author>
<name>anbbna</name>
<email>117081688+anbbna@users.noreply.github.com</email>
</author>
<published>2025-05-14T09:25:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=019d7694df91d75322e3c19ebc2e1aa7d3120e02'/>
<id>019d7694df91d75322e3c19ebc2e1aa7d3120e02</id>
<content type='text'>
The MSB of the mantissa should be zero for QNaNs in the MIPS legacy NaN
encodings, and one for sNaNs.

Fix #100495</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The MSB of the mantissa should be zero for QNaNs in the MIPS legacy NaN
encodings, and one for sNaNs.

Fix #100495</pre>
</div>
</content>
</entry>
<entry>
<title>MIPSr6: Set FMAXNUM and FMINNUM as Legal (#139009)</title>
<updated>2025-05-08T23:40:02+00:00</updated>
<author>
<name>YunQiang Su</name>
<email>yunqiang@isrc.iscas.ac.cn</email>
</author>
<published>2025-05-08T23:40:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=02139b140beff69edc376bd15a80e0670322085f'/>
<id>02139b140beff69edc376bd15a80e0670322085f</id>
<content type='text'>
Now we define FMAXNUM and FMINNUM as IEEE754-2008 with +0.0&gt;-0.0.
MIPSr6's fmax/fmin just follow this rules full.

FMAXNUM_IEEE and FMINNUM_IEEE will be removed in future once:
1. Fixes FMAXNUM/FMINNUM for all targets
2. The use of FMAXNUM_IEEE/FMINNUM_IEEE are not used by middle end
anymore.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Now we define FMAXNUM and FMINNUM as IEEE754-2008 with +0.0&gt;-0.0.
MIPSr6's fmax/fmin just follow this rules full.

FMAXNUM_IEEE and FMINNUM_IEEE will be removed in future once:
1. Fixes FMAXNUM/FMINNUM for all targets
2. The use of FMAXNUM_IEEE/FMINNUM_IEEE are not used by middle end
anymore.</pre>
</div>
</content>
</entry>
<entry>
<title>[MIPS]Remove unnecessary SLL instructions on MIPS64el (#109386)</title>
<updated>2025-05-07T07:42:47+00:00</updated>
<author>
<name>anbbna</name>
<email>117081688+anbbna@users.noreply.github.com</email>
</author>
<published>2025-05-07T07:42:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=69f3552d5ee27b4a2fb160600564d3d4d3c3868b'/>
<id>69f3552d5ee27b4a2fb160600564d3d4d3c3868b</id>
<content type='text'>
Optimize ((signext (xor (trunc X), imm)) to (xor (X, imm)).

Fix https://github.com/llvm/llvm-project/issues/99783</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Optimize ((signext (xor (trunc X), imm)) to (xor (X, imm)).

Fix https://github.com/llvm/llvm-project/issues/99783</pre>
</div>
</content>
</entry>
<entry>
<title>[Mips] Fix clang crashes when compiling a variadic function while targeting mips3 (#130558)</title>
<updated>2025-04-16T02:56:06+00:00</updated>
<author>
<name>yingopq</name>
<email>115543042+yingopq@users.noreply.github.com</email>
</author>
<published>2025-04-16T02:56:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=e676866368a84c88aad90e138268e00a1c56a230'/>
<id>e676866368a84c88aad90e138268e00a1c56a230</id>
<content type='text'>
issue reason:
Because mips3 has the feature 'FeatureGP64Bit', when target mips3
process function `writeVarArgRegs`, the result of `getGPRSizeInBytes` is
8 and the result of `GetVarArgRegs` is `Mips::A0, Mips::A1, Mips::A2,
Mips::A3`. This would generate `gpr64 = COPY $a1` which should be `gpr64
= COPY $a1_64`.

Also when process `CC_Mips_FixedArg`, mips would CCDelegateTo
    `CC_MipsO32_FP`. In fact, it should CCDelegateTo `CC_MipsN`.

Fix #98716.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
issue reason:
Because mips3 has the feature 'FeatureGP64Bit', when target mips3
process function `writeVarArgRegs`, the result of `getGPRSizeInBytes` is
8 and the result of `GetVarArgRegs` is `Mips::A0, Mips::A1, Mips::A2,
Mips::A3`. This would generate `gpr64 = COPY $a1` which should be `gpr64
= COPY $a1_64`.

Also when process `CC_Mips_FixedArg`, mips would CCDelegateTo
    `CC_MipsO32_FP`. In fact, it should CCDelegateTo `CC_MipsN`.

Fix #98716.</pre>
</div>
</content>
</entry>
<entry>
<title>MIPS: Support isLegalICmpImmediate and isLegalAddImmediate (#133400)</title>
<updated>2025-03-28T15:03:52+00:00</updated>
<author>
<name>YunQiang Su</name>
<email>syq@debian.org</email>
</author>
<published>2025-03-28T15:03:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=2218587b5b131bb8ed57c3e6c7a5c0c589493300'/>
<id>2218587b5b131bb8ed57c3e6c7a5c0c589493300</id>
<content type='text'>
Set it to true only if isInt&lt;16&gt;.
By default implemention defines them to true always. For most cases,
MIPS uses 16bit IMM, and for microMIPS, ICMP and ADDiu have 16bit IMM
flavors.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Set it to true only if isInt&lt;16&gt;.
By default implemention defines them to true always. For most cases,
MIPS uses 16bit IMM, and for microMIPS, ICMP and ADDiu have 16bit IMM
flavors.</pre>
</div>
</content>
</entry>
<entry>
<title>Move MIPS-specific GPRel32Directive and EK_GPRel32BlockAddress from generic code to Mips/</title>
<updated>2025-03-02T23:37:55+00:00</updated>
<author>
<name>Fangrui Song</name>
<email>i@maskray.me</email>
</author>
<published>2025-03-02T23:37:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=0c5d709301b25b588ccb9cfb4d9c219cc5bdcaf1'/>
<id>0c5d709301b25b588ccb9cfb4d9c219cc5bdcaf1</id>
<content type='text'>
Follow-up to 60486292b79885b7800b082754153202bef5b1f0
gprel/gprel64 functions can now be moved from MCTargetStreamer
to MipsTargetStreamer.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Follow-up to 60486292b79885b7800b082754153202bef5b1f0
gprel/gprel64 functions can now be moved from MCTargetStreamer
to MipsTargetStreamer.
</pre>
</div>
</content>
</entry>
<entry>
<title>[Mips] Support llvm.readcyclecounter intrinsic (#127553)</title>
<updated>2025-02-18T03:57:23+00:00</updated>
<author>
<name>yingopq</name>
<email>115543042+yingopq@users.noreply.github.com</email>
</author>
<published>2025-02-18T03:57:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=af1e2a374e3845454914348793341f4f931e805a'/>
<id>af1e2a374e3845454914348793341f4f931e805a</id>
<content type='text'>
The llvm.readcyclecounter intrinsic can be implemented via the `rdhwr
$2, $hwr_cc` instruction.
$hwr_cc: High-resolution cycle counter. This register provides read
access to the coprocessor 0 Count Register.

Fix #106318.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The llvm.readcyclecounter intrinsic can be implemented via the `rdhwr
$2, $hwr_cc` instruction.
$hwr_cc: High-resolution cycle counter. This register provides read
access to the coprocessor 0 Count Register.

Fix #106318.</pre>
</div>
</content>
</entry>
<entry>
<title>Revert "[Mips] Support llvm.readcyclecounter intrinsic (#114953)"</title>
<updated>2025-02-11T06:37:17+00:00</updated>
<author>
<name>YunQiang Su</name>
<email>syq@debian.org</email>
</author>
<published>2025-02-11T06:37:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=0d8d354b0c2e9b11605290af3323ac63652e1abd'/>
<id>0d8d354b0c2e9b11605290af3323ac63652e1abd</id>
<content type='text'>
This reverts commit 9cc7ee16e3bb849fb3c0155a843bfe349a2d2175.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reverts commit 9cc7ee16e3bb849fb3c0155a843bfe349a2d2175.
</pre>
</div>
</content>
</entry>
<entry>
<title>[Mips] Support llvm.readcyclecounter intrinsic (#114953)</title>
<updated>2025-02-11T00:47:50+00:00</updated>
<author>
<name>yingopq</name>
<email>115543042+yingopq@users.noreply.github.com</email>
</author>
<published>2025-02-11T00:47:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=9cc7ee16e3bb849fb3c0155a843bfe349a2d2175'/>
<id>9cc7ee16e3bb849fb3c0155a843bfe349a2d2175</id>
<content type='text'>
The llvm.readcyclecounter intrinsic can be implemented via the `rdhwr
$3, $hwr_cc` instruction.
$hwr_cc: High-resolution cycle counter. This register provides read
access to the coprocessor 0 Count Register.

Fix #106318.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The llvm.readcyclecounter intrinsic can be implemented via the `rdhwr
$3, $hwr_cc` instruction.
$hwr_cc: High-resolution cycle counter. This register provides read
access to the coprocessor 0 Count Register.

Fix #106318.</pre>
</div>
</content>
</entry>
</feed>
