~ubuntu-branches/ubuntu/saucy/libv8/saucy

« back to all changes in this revision

Viewing changes to src/ia32/assembler-ia32.h

  • Committer: Package Import Robot
  • Author(s): Jérémy Lal
  • Date: 2012-04-07 16:26:13 UTC
  • mfrom: (15.1.27 sid)
  • Revision ID: package-import@ubuntu.com-20120407162613-dqo1m6w9r3fh8tst
Tags: 3.8.9.16-3
* mipsel build fixes :
  + v8_use_mips_abi_hardfloat=false, this lowers EABI requirements.
  + v8_can_use_fpu_instructions=false, detect if FPU is present.
  + set -Wno-unused-but-set-variable only on mipsel.

Show diffs side-by-side

added added

removed removed

Lines of Context:
659
659
  // possible to align the pc offset to a multiple
660
660
  // of m. m must be a power of 2.
661
661
  void Align(int m);
 
662
  void Nop(int bytes = 1);
662
663
  // Aligns code to something that's optimal for a jump target for the platform.
663
664
  void CodeTargetAlign();
664
665
 
673
674
  void push_imm32(int32_t imm32);
674
675
  void push(Register src);
675
676
  void push(const Operand& src);
676
 
  void push(Handle<Object> handle);
677
677
 
678
678
  void pop(Register dst);
679
679
  void pop(const Operand& dst);
926
926
  void fsin();
927
927
  void fptan();
928
928
  void fyl2x();
 
929
  void f2xm1();
 
930
  void fscale();
 
931
  void fninit();
929
932
 
930
933
  void fadd(int i);
931
934
  void fsub(int i);
983
986
  void andpd(XMMRegister dst, XMMRegister src);
984
987
 
985
988
  void ucomisd(XMMRegister dst, XMMRegister src);
 
989
  void ucomisd(XMMRegister dst, const Operand& src);
986
990
 
987
991
  enum RoundingMode {
988
992
    kRoundToNearest = 0x0,
1017
1021
  void movss(XMMRegister dst, const Operand& src);
1018
1022
  void movss(const Operand& dst, XMMRegister src);
1019
1023
  void movss(XMMRegister dst, XMMRegister src);
 
1024
  void extractps(Register dst, XMMRegister src, byte imm8);
1020
1025
 
1021
1026
  void pand(XMMRegister dst, XMMRegister src);
1022
1027
  void pxor(XMMRegister dst, XMMRegister src);
1080
1085
  // Get the number of bytes available in the buffer.
1081
1086
  inline int available_space() const { return reloc_info_writer.pos() - pc_; }
1082
1087
 
1083
 
  static bool IsNop(Address addr) { return *addr == 0x90; }
 
1088
  static bool IsNop(Address addr);
1084
1089
 
1085
1090
  PositionsRecorder* positions_recorder() { return &positions_recorder_; }
1086
1091