User account creation filtered due to spam.

View | Details | Raw Unified | Return to bug 29838
Collapse All | Expand All

(-)gcc/config/s390/s390.md (-6 / +12 lines)
Lines 7803-7811 Link Here
7803
  ""
7803
  ""
7804
{
7804
{
7805
#ifdef TARGET_THREAD_SSP_OFFSET
7805
#ifdef TARGET_THREAD_SSP_OFFSET
7806
  operands[1]
7806
  if (flag_hosted)
7807
    = gen_rtx_MEM (Pmode, gen_rtx_PLUS (Pmode, s390_get_thread_pointer (),
7807
    {
7808
                                        GEN_INT (TARGET_THREAD_SSP_OFFSET)));
7808
      operands[1]
7809
	= gen_rtx_MEM (Pmode, gen_rtx_PLUS (Pmode, s390_get_thread_pointer (),
7810
					    GEN_INT (TARGET_THREAD_SSP_OFFSET)));
7811
    }
7809
#endif
7812
#endif
7810
  if (TARGET_64BIT)
7813
  if (TARGET_64BIT)
7811
    emit_insn (gen_stack_protect_setdi (operands[0], operands[1]));
7814
    emit_insn (gen_stack_protect_setdi (operands[0], operands[1]));
Lines 7830-7838 Link Here
7830
  ""
7833
  ""
7831
{
7834
{
7832
#ifdef TARGET_THREAD_SSP_OFFSET
7835
#ifdef TARGET_THREAD_SSP_OFFSET
7833
  operands[1]
7836
  if (flag_hosted)
7834
    = gen_rtx_MEM (Pmode, gen_rtx_PLUS (Pmode, s390_get_thread_pointer (),
7837
    {
7835
                                        GEN_INT (TARGET_THREAD_SSP_OFFSET)));
7838
      operands[1]
7839
	= gen_rtx_MEM (Pmode, gen_rtx_PLUS (Pmode, s390_get_thread_pointer (),
7840
					    GEN_INT (TARGET_THREAD_SSP_OFFSET)));
7841
    }
7836
#endif
7842
#endif
7837
  s390_compare_op0 = operands[0];
7843
  s390_compare_op0 = operands[0];
7838
  s390_compare_op1 = operands[1];
7844
  s390_compare_op1 = operands[1];
(-)gcc/config/sparc/sparc.md (-6 / +12 lines)
Lines 8162-8170 Link Here
8162
  ""
8162
  ""
8163
{
8163
{
8164
#ifdef TARGET_THREAD_SSP_OFFSET
8164
#ifdef TARGET_THREAD_SSP_OFFSET
8165
  rtx tlsreg = gen_rtx_REG (Pmode, 7);
8165
  if (flag_hosted)
8166
  rtx addr = gen_rtx_PLUS (Pmode, tlsreg, GEN_INT (TARGET_THREAD_SSP_OFFSET));
8166
    {
8167
  operands[1] = gen_rtx_MEM (Pmode, addr);
8167
      rtx tlsreg = gen_rtx_REG (Pmode, 7);
8168
      rtx addr = gen_rtx_PLUS (Pmode, tlsreg, GEN_INT (TARGET_THREAD_SSP_OFFSET));
8169
      operands[1] = gen_rtx_MEM (Pmode, addr);
8170
    }
8168
#endif
8171
#endif
8169
  if (TARGET_ARCH64)
8172
  if (TARGET_ARCH64)
8170
    emit_insn (gen_stack_protect_setdi (operands[0], operands[1]));
8173
    emit_insn (gen_stack_protect_setdi (operands[0], operands[1]));
Lines 8198-8206 Link Here
8198
  ""
8201
  ""
8199
{
8202
{
8200
#ifdef TARGET_THREAD_SSP_OFFSET
8203
#ifdef TARGET_THREAD_SSP_OFFSET
8201
  rtx tlsreg = gen_rtx_REG (Pmode, 7);
8204
  if (flag_hosted)
8202
  rtx addr = gen_rtx_PLUS (Pmode, tlsreg, GEN_INT (TARGET_THREAD_SSP_OFFSET));
8205
    {
8203
  operands[1] = gen_rtx_MEM (Pmode, addr);
8206
      rtx tlsreg = gen_rtx_REG (Pmode, 7);
8207
      rtx addr = gen_rtx_PLUS (Pmode, tlsreg, GEN_INT (TARGET_THREAD_SSP_OFFSET));
8208
      operands[1] = gen_rtx_MEM (Pmode, addr);
8209
    }
8204
#endif
8210
#endif
8205
  if (TARGET_ARCH64)
8211
  if (TARGET_ARCH64)
8206
    {
8212
    {
(-)gcc/config/i386/i386.md (-20 / +30 lines)
Lines 21043-21060 Link Here
21043
  ""
21043
  ""
21044
{
21044
{
21045
#ifdef TARGET_THREAD_SSP_OFFSET
21045
#ifdef TARGET_THREAD_SSP_OFFSET
21046
  if (TARGET_64BIT)
21046
  if (flag_hosted)
21047
    emit_insn (gen_stack_tls_protect_set_di (operands[0],
21047
    {
21048
					GEN_INT (TARGET_THREAD_SSP_OFFSET)));
21048
      if (TARGET_64BIT)
21049
	emit_insn (gen_stack_tls_protect_set_di (operands[0],
21050
					    GEN_INT (TARGET_THREAD_SSP_OFFSET)));
21051
      else
21052
	emit_insn (gen_stack_tls_protect_set_si (operands[0],
21053
					    GEN_INT (TARGET_THREAD_SSP_OFFSET)));
21054
    }
21049
  else
21055
  else
21050
    emit_insn (gen_stack_tls_protect_set_si (operands[0],
21051
					GEN_INT (TARGET_THREAD_SSP_OFFSET)));
21052
#else
21053
  if (TARGET_64BIT)
21054
    emit_insn (gen_stack_protect_set_di (operands[0], operands[1]));
21055
  else
21056
    emit_insn (gen_stack_protect_set_si (operands[0], operands[1]));
21057
#endif
21056
#endif
21057
    {
21058
      if (TARGET_64BIT)
21059
	emit_insn (gen_stack_protect_set_di (operands[0], operands[1]));
21060
      else
21061
	emit_insn (gen_stack_protect_set_si (operands[0], operands[1]));
21062
    }
21058
  DONE;
21063
  DONE;
21059
})
21064
})
21060
21065
Lines 21114-21131 Link Here
21114
  ix86_compare_emitted = flags;
21119
  ix86_compare_emitted = flags;
21115
21120
21116
#ifdef TARGET_THREAD_SSP_OFFSET
21121
#ifdef TARGET_THREAD_SSP_OFFSET
21117
  if (TARGET_64BIT)
21122
  if (flag_hosted)
21118
    emit_insn (gen_stack_tls_protect_test_di (flags, operands[0],
21123
    {
21119
					GEN_INT (TARGET_THREAD_SSP_OFFSET)));
21124
      if (TARGET_64BIT)
21125
	emit_insn (gen_stack_tls_protect_test_di (flags, operands[0],
21126
					    GEN_INT (TARGET_THREAD_SSP_OFFSET)));
21127
      else
21128
	emit_insn (gen_stack_tls_protect_test_si (flags, operands[0],
21129
					    GEN_INT (TARGET_THREAD_SSP_OFFSET)));
21130
    }
21120
  else
21131
  else
21121
    emit_insn (gen_stack_tls_protect_test_si (flags, operands[0],
21122
					GEN_INT (TARGET_THREAD_SSP_OFFSET)));
21123
#else
21124
  if (TARGET_64BIT)
21125
    emit_insn (gen_stack_protect_test_di (flags, operands[0], operands[1]));
21126
  else
21127
    emit_insn (gen_stack_protect_test_si (flags, operands[0], operands[1]));
21128
#endif
21132
#endif
21133
    {
21134
      if (TARGET_64BIT)
21135
	emit_insn (gen_stack_protect_test_di (flags, operands[0], operands[1]));
21136
      else
21137
	emit_insn (gen_stack_protect_test_si (flags, operands[0], operands[1]));
21138
    }
21129
  emit_jump_insn (gen_beq (operands[2]));
21139
  emit_jump_insn (gen_beq (operands[2]));
21130
  DONE;
21140
  DONE;
21131
})
21141
})
(-)gcc/config/rs6000/rs6000.md (-6 / +12 lines)
Lines 11584-11592 Link Here
11584
  ""
11584
  ""
11585
{
11585
{
11586
#ifdef TARGET_THREAD_SSP_OFFSET
11586
#ifdef TARGET_THREAD_SSP_OFFSET
11587
  rtx tlsreg = gen_rtx_REG (Pmode, TARGET_64BIT ? 13 : 2);
11587
  if (flag_hosted)
11588
  rtx addr = gen_rtx_PLUS (Pmode, tlsreg, GEN_INT (TARGET_THREAD_SSP_OFFSET));
11588
    {
11589
  operands[1] = gen_rtx_MEM (Pmode, addr);
11589
      rtx tlsreg = gen_rtx_REG (Pmode, TARGET_64BIT ? 13 : 2);
11590
      rtx addr = gen_rtx_PLUS (Pmode, tlsreg, GEN_INT (TARGET_THREAD_SSP_OFFSET));
11591
      operands[1] = gen_rtx_MEM (Pmode, addr);
11592
    }
11590
#endif
11593
#endif
11591
  if (TARGET_64BIT)
11594
  if (TARGET_64BIT)
11592
    emit_insn (gen_stack_protect_setdi (operands[0], operands[1]));
11595
    emit_insn (gen_stack_protect_setdi (operands[0], operands[1]));
Lines 11620-11628 Link Here
11620
  ""
11623
  ""
11621
{
11624
{
11622
#ifdef TARGET_THREAD_SSP_OFFSET
11625
#ifdef TARGET_THREAD_SSP_OFFSET
11623
  rtx tlsreg = gen_rtx_REG (Pmode, TARGET_64BIT ? 13 : 2);
11626
  if (flag_hosted)
11624
  rtx addr = gen_rtx_PLUS (Pmode, tlsreg, GEN_INT (TARGET_THREAD_SSP_OFFSET));
11627
    {
11625
  operands[1] = gen_rtx_MEM (Pmode, addr);
11628
      rtx tlsreg = gen_rtx_REG (Pmode, TARGET_64BIT ? 13 : 2);
11629
      rtx addr = gen_rtx_PLUS (Pmode, tlsreg, GEN_INT (TARGET_THREAD_SSP_OFFSET));
11630
      operands[1] = gen_rtx_MEM (Pmode, addr);
11631
    }
11626
#endif
11632
#endif
11627
  rs6000_compare_op0 = operands[0];
11633
  rs6000_compare_op0 = operands[0];
11628
  rs6000_compare_op1 = gen_rtx_UNSPEC (Pmode, gen_rtvec (1, operands[1]),
11634
  rs6000_compare_op1 = gen_rtx_UNSPEC (Pmode, gen_rtvec (1, operands[1]),

Return to bug 29838