⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 194725 in webkit


Ignore:
Timestamp:
Jan 7, 2016, 2:13:38 PM (11 years ago)
Author:
commit-queue@webkit.org
Message:

[mips] Lower immediates of logical operations.
​https://bugs.webkit.org/show_bug.cgi?id=152693

On MIPS immediate operands of andi, ori, and xori are required to be 16-bit
non-negative numbers.

Patch by Konstantin Tokarev <Konstantin Tokarev> on 2016-01-07
Reviewed by Michael Saboff.

  • offlineasm/mips.rb:
Location:
trunk/Source/JavaScriptCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/ChangeLog

    r194720 r194725  
     12016-01-07  Konstantin Tokarev  <annulen@yandex.ru>
     2
     3        [mips] Lower immediates of logical operations.
     4        https://bugs.webkit.org/show_bug.cgi?id=152693
     5
     6        On MIPS immediate operands of andi, ori, and xori are required to be 16-bit
     7        non-negative numbers.
     8
     9        Reviewed by Michael Saboff.
     10
     11        * offlineasm/mips.rb:
     12
    1132016-01-07  Benjamin Poulain  <bpoulain@apple.com>
    214
  • trunk/Source/JavaScriptCore/offlineasm/mips.rb

    r189293 r194725  
    523523            when /^(addi|subi)/
    524524                newList << node.riscLowerMalformedImmediatesRecurse(newList, -0x7fff..0x7fff)
     525            when "andi", "andp", "ori", "orp", "xori", "xorp"
     526                newList << node.riscLowerMalformedImmediatesRecurse(newList, 0..0x7fff)
    525527            else
    526528                newList << node
Note: See TracChangeset for help on using the changeset viewer.